You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/bootstrap/bin/rustdoc.rs
+2-9Lines changed: 2 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,8 @@ fn main() {
31
31
32
32
letmut cmd = Command::new(rustdoc);
33
33
34
-
// I am not actually sure why it's necessary to pass the sysroot for `--test`,
35
-
// but `test --doc --stage 0` is broken without it :(
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
36
if target.is_some() || args.iter().any(|x| x == "--test"){
37
37
// The stage0 compiler has a special sysroot distinct from what we
38
38
// actually downloaded, so we just always pass the `--sysroot` option,
0 commit comments