Skip to content

Commit

Permalink
Rollup merge of rust-lang#74045 - tmiasko:config-debug, r=nikomatsakis
Browse files Browse the repository at this point in the history
Explain effects of debugging options from config.toml
  • Loading branch information
Manishearth authored Jul 10, 2020
2 parents 37adc6a + bcef848 commit f474535
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@
#codegen-units-std = 1

# Whether or not debug assertions are enabled for the compiler and standard
# library.
# library. Debug assertions control the maximum log level used by rustc. When
# enabled calls to `trace!` and `debug!` macros are preserved in the compiled
# binary, otherwise they are omitted.
#
# Defaults to rust.debug value
#debug-assertions = false
Expand All @@ -331,7 +333,9 @@

# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
# `0` - no debug info
# `1` - line tables only
# `1` - line tables only - sufficient to generate backtraces that include line
# information and inlined functions, set breakpoints at source code
# locations, and step through execution in a debugger.
# `2` - full debug info with variable and type information
# Can be overridden for specific subsets of Rust code (rustc, std or tools).
# Debuginfo for tests run with compiletest is not controlled by this option
Expand Down

0 comments on commit f474535

Please sign in to comment.