Skip to content

Commit e84552e

Browse files
committed
be more consistent with "defaults" placement
1 parent 16e741c commit e84552e

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

config.toml.example

+7-16
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,7 @@
173173

174174
# Python interpreter to use for various tasks throughout the build, notably
175175
# rustdoc tests, the lldb python interpreter, and some dist bits and pieces.
176-
#
177-
# Defaults to the Python interpreter used to execute x.py.
178-
#python = "python"
176+
#python = "python" # defaults to the Python interpreter used to execute x.py
179177

180178
# Force Cargo to check that Cargo.lock describes the precise dependency
181179
# set that all the Cargo.toml files create, instead of updating it.
@@ -313,13 +311,11 @@
313311

314312
# Whether or not debug assertions are enabled for the compiler and standard
315313
# library.
316-
# Defaults to rust.debug value.
317-
#debug-assertions = false
314+
#debug-assertions = false # defaults to rust.debug value
318315

319316
# Whether or not debug assertions are enabled for the standard library.
320317
# Overrides the `debug-assertions` option, if defined.
321-
# Defaults to rust.debug value.
322-
#debug-assertions-std = false
318+
#debug-assertions-std = false # defaults to rust.debug value
323319

324320
# Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
325321
# `0` - no debug info
@@ -328,21 +324,16 @@
328324
# Can be overridden for specific subsets of Rust code (rustc, std or tools).
329325
# Debuginfo for tests run with compiletest is not controlled by this option
330326
# and needs to be enabled separately with `debuginfo-level-tests`.
331-
#
332-
# If debug is true, this defaults to 2.
333-
#debuginfo-level = 0
327+
#debuginfo-level = 0 # defaults to 2 if debug is true
334328

335329
# Debuginfo level for the compiler.
336-
# Defaults to rust.debuginfo-level value.
337-
#debuginfo-level-rustc = 0
330+
#debuginfo-level-rustc = 0 # defaults to rust.debuginfo-level value
338331

339332
# Debuginfo level for the standard library.
340-
# Defaults to rust.debuginfo-level value.
341-
#debuginfo-level-std = 0
333+
#debuginfo-level-std = 0 # defaults to rust.debuginfo-level value
342334

343335
# Debuginfo level for the tools.
344-
# Defaults to rust.debuginfo-level value.
345-
#debuginfo-level-tools = 0
336+
#debuginfo-level-tools = 0 # defaults to rust.debuginfo-level value
346337

347338
# Debuginfo level for the test suites run with compiletest.
348339
# FIXME(#61117): Some tests fail when this option is enabled.

0 commit comments

Comments
 (0)