File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 318
318
#codegen-units-std = 1
319
319
320
320
# Whether or not debug assertions are enabled for the compiler and standard
321
- # library.
321
+ # library. Debug assertions control the maximum log level used by rustc. When
322
+ # enabled calls to `trace!` and `debug!` macros are preserved in the compiled
323
+ # binary, otherwise they are omitted.
322
324
#
323
325
# Defaults to rust.debug value
324
326
#debug-assertions = false
331
333
332
334
# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
333
335
# `0` - no debug info
334
- # `1` - line tables only
336
+ # `1` - line tables only - sufficient to generate backtraces that include line
337
+ # information and inlined functions, set breakpoints at source code
338
+ # locations, and step through execution in a debugger.
335
339
# `2` - full debug info with variable and type information
336
340
# Can be overridden for specific subsets of Rust code (rustc, std or tools).
337
341
# Debuginfo for tests run with compiletest is not controlled by this option
You can’t perform that action at this time.
0 commit comments