diff options
| author | bors <bors@rust-lang.org> | 2019-08-29 11:20:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-08-29 11:20:45 +0000 |
| commit | 7445622bcb515c822a2fc6e8c57c90478c1a56bb (patch) | |
| tree | 3c3cd79e15fce31f7d5ef8792249a7de33646bce /src/bootstrap/bootstrap.py | |
| parent | 85ed538d6988c6c82aea8750b306cb793e874294 (diff) | |
| parent | 3f05cf6776fe9682200b1327b7131219710120b2 (diff) | |
Auto merge of #63998 - Centril:rollup-pfuwxz3, r=Centril
Rollup of 7 pull requests Successful merges: - #63867 (resolve: Block expansion of a derive container until all its derives are resolved) - #63880 (Validation: check raw wide pointer metadata) - #63914 (ty: use Align for ReprOptions pack and align.) - #63941 (rustbuild: allow disabling deny(warnings) for bootstrap) - #63949 (Fix build src/libtest) - #63984 (Update rust-installer to limit memory use) - #63992 (Small improvement for Ord implementation of integers) Failed merges: r? @ghost
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 86901792d79..3c56131396f 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -631,6 +631,8 @@ class RustBuild(object): target_linker = self.get_toml("linker", build_section) if target_linker is not None: env["RUSTFLAGS"] += "-C linker=" + target_linker + " " + if self.get_toml("deny-warnings", "rust") != "false": + env["RUSTFLAGS"] += "-Dwarnings -Drust_2018_idioms -Dunused_lifetimes " env["PATH"] = os.path.join(self.bin_root(), "bin") + \ os.pathsep + env["PATH"] |
