Skip to content

rustdoc: builds including multiple crates with the same name are always dirty #61378

Description

@cramertj

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cratesArea: Crates and their interactions (like crate loading)C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions