We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exe
gcc-ld
1 parent b6fdb74 commit 3e6050cCopy full SHA for 3e6050c
src/bootstrap/src/core/build_steps/dist.rs
@@ -462,8 +462,11 @@ impl Step for Rustc {
462
let src_dir = builder.sysroot_libdir(compiler, host).parent().unwrap().join("bin");
463
let rust_lld = exe("rust-lld", compiler.host);
464
builder.copy_link(&src_dir.join(&rust_lld), &dst_dir.join(&rust_lld));
465
- let self_contained_lld_src_dir = src_dir.join("gcc-ld");
466
- let self_contained_lld_dst_dir = dst_dir.join("gcc-ld");
+
+ let gcc_ld = exe("gcc-ld", compiler.host);
467
+ let self_contained_lld_src_dir = src_dir.join(&gcc_ld);
468
+ let self_contained_lld_dst_dir = dst_dir.join(gcc_ld);
469
470
t!(fs::create_dir(&self_contained_lld_dst_dir));
471
for name in crate::LLD_FILE_NAMES {
472
let exe_name = exe(name, compiler.host);
0 commit comments