### Problem In a fresh `cargo doc -Zrustdoc-depinfo` build, the generated static files under `target/doc/static.files` are missing. <img width="719" alt="Image" src="https://github.com/user-attachments/assets/97d7078a-ed40-4c0c-affe-763487563b3b" /> ### Steps 1. Find a Cargo package. 2. `cargo clean --doc` 3. `cargo +nightly doc --no-deps -Zrustdoc-depinfo --open` ### Possible Solution(s) _No response_ ### Notes Originally reported by @jondolf in <https://github.com/rust-lang/cargo/issues/15203#issuecomment-2917092618>. cc #15370 ### Version ```text cargo 1.89.0-nightly (68db37499 2025-05-22) release: 1.89.0-nightly commit-hash: 68db37499f2de8acef704c73d9031be6fbcbaee4 commit-date: 2025-05-22 ```