Skip to content

Commit 9e722f7

Browse files
committed
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.
1 parent 7e11f3a commit 9e722f7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/bootstrap/defaults/config.codegen.toml

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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)