rustdoc: builds including multiple crates with the same name are always dirty · Issue #61378 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
I haven't figured out exactly what's going on here yet, but to repro:
mkdir /tmp/rustdoc-dirty && cd /tmp/rustdoc-dirty && cargo init echo 'futures-preview = { version = "=0.3.0-alpha.16", features = ["io-compat"] }' >> Cargo.toml cargo doc cargo doc
(tested on rustc 1.36.0-nightly (a784a8022 2019-05-09)
)
The second cargo doc
should do no work and immediately exit, however it instead proceeds to document tokio-io
and everything after it. This only happens when the io-compat
feature is enabled, but does not happen when depending directly on tokio-io
.