Skip to content

Commit

Permalink
Set backtrace-on-ice by default for compiler and codegen profiles
Browse files Browse the repository at this point in the history
If there's an ICE while bootstrapping, it's most likely because of a change to the compiler.
  • Loading branch information
jyn514 committed Apr 25, 2021
1 parent 7e11f3a commit 9e722f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bootstrap/defaults/config.codegen.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ assertions = true
debug-logging = true
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
incremental = true
# Print backtrace on internal compiler errors during bootstrap
backtrace-on-ice = true
2 changes: 2 additions & 0 deletions src/bootstrap/defaults/config.compiler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
debug-logging = true
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
incremental = true
# Print backtrace on internal compiler errors during bootstrap
backtrace-on-ice = true

[llvm]
# Will download LLVM from CI if available on your platform.
Expand Down

0 comments on commit 9e722f7

Please sign in to comment.