Skip to content

Commit 13ea97c

Browse files
committed
Auto merge of #119292 - onur-ozkan:share-make-with-rustdoc, r=albertlarsan68
bootstrap: use same make flags with rustdoc Keeping same `MAKEFLAGS` and `MFLAGS` for rustdoc should allow rustdoc to use the same jobserver.
2 parents f2348fb + c350d3c commit 13ea97c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/bootstrap/src/core/builder.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1221,11 +1221,6 @@ impl<'a> Builder<'a> {
12211221
cmd.arg("-Dwarnings");
12221222
}
12231223
cmd.arg("-Znormalize-docs");
1224-
1225-
// Remove make-related flags that can cause jobserver problems.
1226-
cmd.env_remove("MAKEFLAGS");
1227-
cmd.env_remove("MFLAGS");
1228-
12291224
cmd.args(linker_args(self, compiler.host, LldThreads::Yes));
12301225
cmd
12311226
}

0 commit comments

Comments
 (0)