Skip to content

Commit a5c6a48

Browse files
committed
Auto merge of #98731 - InfRandomness:fix-#98728, r=Mark-Simulacrum
Revert #95993 fix This reverts the temporary fix implemented by #95993 since a permanent fix has been implemented by rust-lang/cargo#10594 Fixes #98728
2 parents d46c728 + 81b525e commit a5c6a48

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bootstrap/bin/rustdoc.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ fn main() {
3131

3232
let mut cmd = Command::new(rustdoc);
3333

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") {
34+
if target.is_some() {
3735
// The stage0 compiler has a special sysroot distinct from what we
3836
// actually downloaded, so we just always pass the `--sysroot` option,
3937
// unless one is already set.

0 commit comments

Comments
 (0)