Skip to content

Fresh doc build with -Zrustdoc-depinfo has no files in static.files directory #15604

Closed
@weihanglo

Description

@weihanglo

Problem

In a fresh cargo doc -Zrustdoc-depinfo build, the generated static files under target/doc/static.files are missing.

Image

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 #15203 (comment).

cc #15370

Version

cargo 1.89.0-nightly (68db37499 2025-05-22)
release: 1.89.0-nightly
commit-hash: 68db37499f2de8acef704c73d9031be6fbcbaee4
commit-date: 2025-05-22

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugS-triageStatus: This issue is waiting on initial triage.Z-rustdoc-depinfoNightly: rustdoc-depinfo integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions