Skip to content

Commit bc500ae

Browse files
committed
use builder.config.build as host
1 parent 2cfd494 commit bc500ae

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
@@ -1122,7 +1122,7 @@ impl Step for UnstableBookGen {
11221122
let target = self.target;
11231123

11241124
let stage = builder.top_stage;
1125-
let compiler = builder.compiler(stage, self.target);
1125+
let compiler = builder.compiler(stage, builder.config.build);
11261126
let rustc_path =
11271127
builder.out.join(compiler.host).join(format!("stage{stage}")).join("bin").join("rustc");
11281128

0 commit comments

Comments
 (0)