rust-docs
and rustc-docs
components conflict at share/doc/rust/html/rustc
#108535
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-infra
Relevant to the infrastructure team, which will review and decide on the PR/issue.
Problem
The
rust-docs
andrustc-docs
components cannot be installed at the same time, as they conflict atshare/doc/rust/html/rustc
andshare/doc/rust/html
. Only one of them can be installed at a single time, but I don't see a reason why they can't have different install locations and coexist.If
rust-docs
is installed already, thenrustup component add rustc-docs
fails withdetected conflict: 'share/doc/rust/html/rustc'
.If
rustc-docs
is installed already, thenrustup component add rust-docs
fails withdetected conflict: 'share/doc/rust/html'
.Steps
More interactively, this is what happens when they're added and removed in different orders:
Possible Solution(s)
Install
rust-docs
andrustc-docs
in different locations so there's no conflict.Notes
No response
Rustup version
Installed toolchains
The text was updated successfully, but these errors were encountered: