Skip to content

Commit

Permalink
Auto merge of #98731 - InfRandomness:fix-#98728, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Jul 4, 2022
2 parents d46c728 + 81b525e commit a5c6a48
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bootstrap/bin/rustdoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ fn main() {

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

// cfg(bootstrap)
// NOTE: the `--test` special-casing can be removed when https://github.com/rust-lang/cargo/pull/10594 lands on beta.
if target.is_some() || args.iter().any(|x| x == "--test") {
if target.is_some() {
// The stage0 compiler has a special sysroot distinct from what we
// actually downloaded, so we just always pass the `--sysroot` option,
// unless one is already set.
Expand Down

0 comments on commit a5c6a48

Please sign in to comment.