Skip to content

Commit

Permalink
bootstrap: use same make flags with rustdoc
Browse files Browse the repository at this point in the history
Keeping same `MAKEFLAGS` and `MFLAGS` for rustdoc
should allow rustdoc to use the same jobserver.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Dec 25, 2023
1 parent f736079 commit c350d3c
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 c350d3c

Please sign in to comment.