Skip to content

Commit 00ce4f5

Browse files
committed
use builder.config.host_target as host
1 parent 320c095 commit 00ce4f5

File tree

1 file changed

+1
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ impl Step for UnstableBookGen {
11491149
let target = self.target;
11501150

11511151
let stage = builder.top_stage;
1152-
let compiler = builder.compiler(stage, self.target);
1152+
let compiler = builder.compiler(stage, builder.config.host_target);
11531153
let rustc_path =
11541154
builder.out.join(compiler.host).join(format!("stage{stage}")).join("bin").join("rustc");
11551155

0 commit comments

Comments
 (0)