Rustdoc does not apply cfg(parallel_compiler) when bootstrapping #82301
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Found while testing #70951.
I tried this code:
In rustc_middle:
In downstream crate rustc_query_system:
I expected to see this happen: rustdoc run successfully.
Instead, this happened: rustdoc complains of missing impl-item
deadlock
.My understanding is that
./x.py check
compiles withparallel_compiler = true
andputs the trait with
deadcode
in its metadata.Rustdoc tries to document ignoring
parallel_compiler
,so the function
deadcode
is missing.Meta
master at 8599bff
The text was updated successfully, but these errors were encountered: