We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154f645 commit e0ba227Copy full SHA for e0ba227
src/bootstrap/bootstrap.py
@@ -946,6 +946,8 @@ def build_bootstrap_cmd(self, env):
946
target_linker = self.get_toml("linker", build_section)
947
if target_linker is not None:
948
env["RUSTFLAGS"] += " -C linker=" + target_linker
949
+ # When changing this list, also update the corresponding logic in `Builder::cargo`
950
+ # in `src/bootstrap/src/core/builder.rs`.
951
env["RUSTFLAGS"] += " -Wrust_2018_idioms -Wunused_lifetimes"
952
if self.warnings == "default":
953
deny_warnings = self.get_toml("deny-warnings", "rust") != "false"
0 commit comments