Skip to content

Commit

Permalink
docs: mention RUSTC_ICE=0 to suppress ICE file
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu authored and BoxyUwU committed Jun 18, 2024
1 parent aec8216 commit e7998be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/compiler-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ new-symbol-mangling = false
You will need to rebuild the compiler after changing any configuration option.

## Suppressing the ICE file

By default, if rustc encounters an Internal Compiler Error (ICE) it will dump the ICE contents to an
ICE file within the current working directory named `rustc-ice-<timestamp>-<pid>.txt`. If this is
not desirable, you can prevent the ICE file from being created with `RUSTC_ICE=0`.

## `-Z` flags

The compiler has a bunch of `-Z` flags. These are unstable flags that are only
Expand Down

0 comments on commit e7998be

Please sign in to comment.