Skip to content

Commit a2e9c6f

Browse files
committed
Set deny-warnings for compiler/library/tools profiles to false
1 parent fbd6934 commit a2e9c6f

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/bootstrap/defaults/bootstrap.compiler.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ frame-pointers = true
2525
# e.g. check that it builds locally and check the baseline behavior of a
2626
# compiler built from latest `master` commit.
2727
download-rustc = false
28+
# Don't fail compilation when there are warnings.
29+
deny-warnings = false
2830

2931
[llvm]
3032
# Having this set to true disrupts compiler development workflows for people who use `llvm.download-ci-llvm = true`

src/bootstrap/defaults/bootstrap.dist.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ channel = "auto-detect"
2424
download-rustc = false
2525
# Build the llvm-bitcode-linker
2626
llvm-bitcode-linker = true
27+
# Fail compilation when there are warnings.
28+
deny-warnings = true
2729

2830
[dist]
2931
# Use better compression when preparing tarballs.

src/bootstrap/defaults/bootstrap.library.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ lto = "off"
1414
# library development by skipping compiler builds.
1515
# FIXME: download-rustc is currently broken: https://github.com/rust-lang/rust/issues/142505
1616
download-rustc = false
17+
# Don't fail compilation when there are warnings.
18+
deny-warnings = false
1719

1820
[llvm]
1921
# Will download LLVM from CI if available on your platform.

src/bootstrap/defaults/bootstrap.tools.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ doc-stage = 2
1616
compiler-docs = true
1717
# Contributors working on tools are the most likely to change non-rust programs.
1818
tidy-extra-checks = "auto:js,auto:py,auto:cpp,auto:spellcheck"
19+
# Don't fail compilation when there are warnings.
20+
deny-warnings = false
1921

2022
[llvm]
2123
# Will download LLVM from CI if available on your platform.

0 commit comments

Comments
 (0)