Closed
Description
For two project I maintain, the docs generated by CI no longer includes an index file despite the appropriate nightly flags being used. Here is a reproduction:
- Clone https://github.com/ruma/ruma/tree/rustdoc-bug
- With the environment variable
RUSTDOCFLAGS
set to'--enable-index-page -Zunstable-options'
, runcargo +nightly doc --no-deps
- Observe no
index.html
file intarget/doc
Meta
- Reproducible with the latest rustdoc as of right now (
1.63.0-nightly (5435ed691 2022-06-07)
) - Reproducible with rustdoc
1.61.0-nightly (f0c4da499 2022-03-01)
(rustupnightly-2022-03-02
) - Not reproducible with rustdoc
1.61.0-nightly (4ce374923 2022-02-28)
(rustupnightly-2022-03-01
).
@rustbot labels: +T-rustdoc
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
jplatte commentedon Jun 8, 2022
To be clear, the title says "consistently" at the end because I have tried to reproduce this in a Cargo project with just one package as well as a smaller Cargo workspace, but couldn't.
main
docs link in readme matrix-org/matrix-rust-sdk#744jplatte commentedon Jun 10, 2022
This is a cargo bug, closing in favor of rust-lang/cargo#10744.