[bootstrap] rustdoc is always built with optimizations enabled, slowing down iterative development. #137562
Labels
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Summary
When iteratively developing rustdoc, it uses the --release profile, which sets
opt-level=3
, which slows down the build.Command used
./x test -v --stage 2 tests/rustdoc/deref/deref-methods-24686-target.rs
Expected behaviour
Unoptimized build.
Actual behaviour
Optimized build
Bootstrap configuration (config.toml)
Operating system
NixOS
HEAD
617aad8
Additional context
Build Log
The text was updated successfully, but these errors were encountered: