Update compiler-debugging.md

This commit is contained in:
Who? Me?! 2019-06-07 15:51:16 -05:00
parent 5f5ea62102
commit 12292c52d4
1 changed files with 4 additions and 3 deletions

View File

@ -46,9 +46,10 @@ stack backtrace:
37: rustc_driver::run_compiler 37: rustc_driver::run_compiler
``` ```
If you want line numbers for the stack trace, you can enable If you want line numbers for the stack trace, you can enable `debug = true` in
`debuginfo-level = 1` or `debuginfo-level = 2` in your config.toml and rebuild the your config.toml and rebuild the compiler (`debuginfo-level = 1` will also add
compiler. Then the backtrace will look like this: line numbers, but `debug = true` gives full debuginfo). Then the backtrace will
look like this:
```text ```text
stack backtrace: stack backtrace: