We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faee5fd commit dc8ee51Copy full SHA for dc8ee51
src/bootstrap/dist.rs
@@ -680,11 +680,11 @@ impl Step for Std {
680
let image = tmpdir(builder).join(format!("{}-{}-image", name, target));
681
let _ = fs::remove_dir_all(&image);
682
683
-
684
let dst = image.join("lib/rustlib").join(target).join("lib");
685
t!(fs::create_dir_all(&dst));
686
687
- let stamp = dbg!(compile::libstd_stamp(builder, compiler, target));
+ let compiler_to_use = builder.compiler_for(compiler.stage, compiler.host, target);
+ let stamp = dbg!(compile::libstd_stamp(builder, compiler_to_use, target));
688
for (path, host) in builder.read_stamp_file(&stamp) {
689
if !host {
690
builder.copy(&path, &dst.join(path.file_name().unwrap()));
0 commit comments