We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d46c728 + 81b525e commit a5c6a48Copy full SHA for a5c6a48
src/bootstrap/bin/rustdoc.rs
@@ -31,9 +31,7 @@ fn main() {
31
32
let mut cmd = Command::new(rustdoc);
33
34
- // cfg(bootstrap)
35
- // NOTE: the `--test` special-casing can be removed when https://github.com/rust-lang/cargo/pull/10594 lands on beta.
36
- if target.is_some() || args.iter().any(|x| x == "--test") {
+ if target.is_some() {
37
// The stage0 compiler has a special sysroot distinct from what we
38
// actually downloaded, so we just always pass the `--sysroot` option,
39
// unless one is already set.
0 commit comments