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.
2 parents bdaa901 + 7826c57 commit 6c189bcCopy full SHA for 6c189bc
src/bootstrap/dist.rs
@@ -2085,6 +2085,13 @@ impl Step for RustDev {
2085
] {
2086
tarball.add_file(src_bindir.join(exe(bin, target)), "bin", 0o755);
2087
}
2088
+
2089
+ // We don't build LLD on some platforms, so only add it if it exists
2090
+ let lld_path = builder.lld_out(target).join("bin").join(exe("lld", target));
2091
+ if lld_path.exists() {
2092
+ tarball.add_file(lld_path, "bin", 0o755);
2093
+ }
2094
2095
tarball.add_file(&builder.llvm_filecheck(target), "bin", 0o755);
2096
2097
// Copy the include directory as well; needed mostly to build
0 commit comments