Skip to content

Commit ba0b7af

Browse files
committed
Sync codegen defaults with compiler defaults and add a ping message so they stay in sync
1 parent 5423745 commit ba0b7af

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/bootstrap/defaults/config.codegen.toml

+2
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ debug-logging = true
1717
incremental = true
1818
# Print backtrace on internal compiler errors during bootstrap
1919
backtrace-on-ice = true
20+
# Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown.
21+
lto = "off"

triagebot.toml

+5
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,11 @@ If this was intentional then you can ignore this comment.
471471
[mentions."src/tools/x"]
472472
message = "`src/tools/x` was changed. Bump version of Cargo.toml in `src/tools/x` so tidy will suggest installing the new version."
473473

474+
[mentions."src/bootstrap/defaults/config.compiler.toml"]
475+
message = "This PR changes src/bootstrap/defaults/config.compiler.toml. If appropriate, please also update `config.codegen.toml` so the defaults are in sync."
476+
[mentions."src/bootstrap/defaults/config.codegen.toml"]
477+
message = "This PR changes src/bootstrap/defaults/config.codegen.toml. If appropriate, please also update `config.compiler.toml` so the defaults are in sync."
478+
474479
[assign]
475480
warn_non_default_branch = true
476481
contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"

0 commit comments

Comments
 (0)