Skip to content

Commit 0380b3c

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

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
@@ -6,6 +6,8 @@ incremental = true
66
# Most commonly, tools contributors do not need to modify the compiler, so
77
# downloading a CI rustc is a good default for tools profile.
88
download-rustc = "if-unchanged"
9+
# Don't fail compilation when there are warnings.
10+
deny-warnings = false
911

1012
[build]
1113
# cargo and clippy tests don't pass on stage 1

0 commit comments

Comments
 (0)