We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 755d030 commit a7f329fCopy full SHA for a7f329f
src/bootstrap/bootstrap.py
@@ -632,6 +632,9 @@ def build_bootstrap(self):
632
target_features += ["-crt-static"]
633
if target_features:
634
env["RUSTFLAGS"] += "-C target-feature=" + (",".join(target_features)) + " "
635
+ target_linker = self.get_toml("linker", build_section)
636
+ if target_linker is not None:
637
+ env["RUSTFLAGS"] += "-C linker=" + target_linker + " "
638
639
env["PATH"] = os.path.join(self.bin_root(), "bin") + \
640
os.pathsep + env["PATH"]
0 commit comments