We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 953a71a commit c7f443aCopy full SHA for c7f443a
src/bootstrap/tool.rs
@@ -595,7 +595,7 @@ impl Step for Rustdoc {
595
features.push("jemalloc".to_string());
596
}
597
598
- let cargo = prepare_tool_cargo(
+ let mut cargo = prepare_tool_cargo(
599
builder,
600
build_compiler,
601
Mode::ToolRustc,
@@ -606,6 +606,10 @@ impl Step for Rustdoc {
606
features.as_slice(),
607
);
608
609
+ if builder.config.rustc_parallel {
610
+ cargo.rustflag("--cfg=parallel_compiler");
611
+ }
612
+
613
let msg = tooling_output(
614
615
"rustdoc",
0 commit comments