We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba64ba8 commit 134a5aeCopy full SHA for 134a5ae
src/bootstrap/bootstrap.py
@@ -753,6 +753,9 @@ def build_bootstrap(self, color):
753
target_features += ["-crt-static"]
754
if target_features:
755
env["RUSTFLAGS"] += " -C target-feature=" + (",".join(target_features))
756
+ target_linker = self.get_toml("linker", build_section)
757
+ if target_linker is not None:
758
+ env["RUSTFLAGS"] += " -C linker=" + target_linker
759
env["RUSTFLAGS"] += " -Wrust_2018_idioms -Wunused_lifetimes"
760
env["RUSTFLAGS"] += " -Wsemicolon_in_expressions_from_macros"
761
if self.get_toml("deny-warnings", "rust") != "false":
0 commit comments