Skip to content

Commit

Permalink
Auto merge of rust-lang#119292 - onur-ozkan:share-make-with-rustdoc, …
Browse files Browse the repository at this point in the history
…r=albertlarsan68

bootstrap: use same make flags with rustdoc

Keeping same `MAKEFLAGS` and `MFLAGS` for rustdoc should allow rustdoc to use the same jobserver.
  • Loading branch information
bors committed Dec 25, 2023
2 parents f2348fb + c350d3c commit 13ea97c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/bootstrap/src/core/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1221,11 +1221,6 @@ impl<'a> Builder<'a> {
cmd.arg("-Dwarnings");
}
cmd.arg("-Znormalize-docs");

// Remove make-related flags that can cause jobserver problems.
cmd.env_remove("MAKEFLAGS");
cmd.env_remove("MFLAGS");

cmd.args(linker_args(self, compiler.host, LldThreads::Yes));
cmd
}
Expand Down

0 comments on commit 13ea97c

Please sign in to comment.