Skip to content

Commit 87b2ace

Browse files
authored
Rollup merge of #84555 - jyn514:ice-backtrace, r=Mark-Simulacrum
Set `backtrace-on-ice` by default for compiler and codegen profiles If there's an ICE while bootstrapping, it's most likely because of a change to the compiler.
2 parents e803622 + 9e722f7 commit 87b2ace

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/bootstrap/defaults/config.codegen.toml

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ 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+
# Print backtrace on internal compiler errors during bootstrap
15+
backtrace-on-ice = true

src/bootstrap/defaults/config.compiler.toml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
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+
# Print backtrace on internal compiler errors during bootstrap
10+
backtrace-on-ice = true
911

1012
[llvm]
1113
# Will download LLVM from CI if available on your platform.

0 commit comments

Comments
 (0)