diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-06-18 19:09:41 +0100 |
|---|---|---|
| committer | Boxy <supbscripter@gmail.com> | 2024-06-18 19:24:17 +0100 |
| commit | a9586ed0b3a4552c7b946c51d74033695500f331 (patch) | |
| tree | 5c6a550ac1af2c9d4f8dd3e06c5f0d38cc146f57 /src/doc/rustc-dev-guide | |
| parent | 119324974dac2f8578d2f6b5d6d738cbf3cda7b0 (diff) | |
| download | rust-a9586ed0b3a4552c7b946c51d74033695500f331.tar.gz rust-a9586ed0b3a4552c7b946c51d74033695500f331.zip | |
docs: mention RUSTC_ICE=0 to suppress ICE file
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/compiler-debugging.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/compiler-debugging.md b/src/doc/rustc-dev-guide/src/compiler-debugging.md index 2cd577d3564..5a897a0bbbd 100644 --- a/src/doc/rustc-dev-guide/src/compiler-debugging.md +++ b/src/doc/rustc-dev-guide/src/compiler-debugging.md @@ -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 |
