mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Explain effects of debugging options from config.toml
Co-authored-by: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com>
This commit is contained in:
parent
0cd7ff7ddf
commit
bcef848a69
@ -318,7 +318,9 @@
|
|||||||
#codegen-units-std = 1
|
#codegen-units-std = 1
|
||||||
|
|
||||||
# Whether or not debug assertions are enabled for the compiler and standard
|
# 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
|
# Defaults to rust.debug value
|
||||||
#debug-assertions = false
|
#debug-assertions = false
|
||||||
@ -331,7 +333,9 @@
|
|||||||
|
|
||||||
# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
|
# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
|
||||||
# `0` - no debug info
|
# `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
|
# `2` - full debug info with variable and type information
|
||||||
# Can be overridden for specific subsets of Rust code (rustc, std or tools).
|
# 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
|
# Debuginfo for tests run with compiletest is not controlled by this option
|
||||||
|
Loading…
Reference in New Issue
Block a user