Skip to content

Commit b22e039

Browse files
committed
Set deny-warnings = false in contributor defaults
This makes it easier to make rapid changes without having to constantly fix warnings.
1 parent 7820135 commit b22e039

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

src/bootstrap/defaults/config.toml.codegen

+6
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ assertions = true
1111
debug-logging = true
1212
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
1313
incremental = true
14+
15+
[rust]
16+
# This allows building even with warnings present.
17+
# This is convenient especially for larger changes and refactoring,
18+
# since it doesn't require constantly changing imports and variable names.
19+
deny-warnings = false

src/bootstrap/defaults/config.toml.compiler

+6
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@
66
debug-logging = true
77
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
88
incremental = true
9+
10+
[rust]
11+
# This allows building even with warnings present.
12+
# This is convenient especially for larger changes and refactoring,
13+
# since it doesn't require constantly changing imports and variable names.
14+
deny-warnings = false

src/bootstrap/defaults/config.toml.library

+4
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ bench-stage = 0
88
[rust]
99
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
1010
incremental = true
11+
# This allows building even with warnings present.
12+
# This is convenient especially for larger changes and refactoring,
13+
# since it doesn't require constantly changing imports and variable names.
14+
deny-warnings = false

0 commit comments

Comments
 (0)