Skip to content

Commit 95d4215

Browse files
authored
Rollup merge of #77766 - JohnTitor:fix-debug-config, r=jyn514
Clarify the debug-related values should take boolean #76588 tweaked their placeholders but these values should take boolean and the current placeholders are confusing, at least for me.
2 parents 8752b43 + 2224e26 commit 95d4215

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config.toml.example

+3-3
Original file line numberDiff line numberDiff line change
@@ -370,13 +370,13 @@ changelog-seen = 1
370370
# binary, otherwise they are omitted.
371371
#
372372
# Defaults to rust.debug value
373-
#debug-assertions = debug
373+
#debug-assertions = rust.debug (boolean)
374374

375375
# Whether or not debug assertions are enabled for the standard library.
376376
# Overrides the `debug-assertions` option, if defined.
377377
#
378378
# Defaults to rust.debug-assertions value
379-
#debug-assertions-std = debug-assertions
379+
#debug-assertions-std = rust.debug-assertions (boolean)
380380

381381
# Whether or not to leave debug! and trace! calls in the rust binary.
382382
# Overrides the `debug-assertions` option, if defined.
@@ -386,7 +386,7 @@ changelog-seen = 1
386386
# If you see a message from `tracing` saying
387387
# `max_level_info` is enabled and means logging won't be shown,
388388
# set this value to `true`.
389-
#debug-logging = debug-assertions
389+
#debug-logging = rust.debug-assertions (boolean)
390390

391391
# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
392392
# `0` - no debug info

0 commit comments

Comments
 (0)