diff options
| author | Ralf Jung <post@ralfj.de> | 2023-12-05 19:23:33 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-12-05 19:25:07 +0100 |
| commit | 68ea62100bfa8859c07682e3409685e41bd9014f (patch) | |
| tree | 7a5cd23469a7c85f57eb2c443e9e33a755840bb7 /src/bootstrap/bootstrap.py | |
| parent | 154f645d76a9752bd7ea58d7382b2e90e83557fb (diff) | |
| download | rust-68ea62100bfa8859c07682e3409685e41bd9014f.tar.gz rust-68ea62100bfa8859c07682e3409685e41bd9014f.zip | |
add comment about keeping flags in sync between bootstrap.py and bootstrap.rs
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 4691fb3ad6f..2328dd822af 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -946,6 +946,8 @@ class RustBuild(object): target_linker = self.get_toml("linker", build_section) if target_linker is not None: env["RUSTFLAGS"] += " -C linker=" + target_linker + # When changing this list, also update the corresponding list in `Builder::cargo` + # in `src/bootstrap/src/core/builder.rs`. env["RUSTFLAGS"] += " -Wrust_2018_idioms -Wunused_lifetimes" if self.warnings == "default": deny_warnings = self.get_toml("deny-warnings", "rust") != "false" |
