about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGus Wynn <guswynn@gmail.com>2020-09-11 09:01:31 -0700
committerGus Wynn <guswynn@gmail.com>2020-09-11 09:01:31 -0700
commit56f5c7f95f3f7772cb3263d48cd2d8a136706767 (patch)
tree6438cc285d9faec040afa1728460c36b461738c4
parent15aa6f31b974d41ecc0312faf8d50cde19a74cca (diff)
downloadrust-56f5c7f95f3f7772cb3263d48cd2d8a136706767.tar.gz
rust-56f5c7f95f3f7772cb3263d48cd2d8a136706767.zip
comments + add max_level_info so false works with debug_assertions on
-rw-r--r--compiler/rustc_driver/Cargo.toml2
-rw-r--r--config.toml.example6
2 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_driver/Cargo.toml b/compiler/rustc_driver/Cargo.toml
index 6f0d7bc4d58..1e371f8254d 100644
--- a/compiler/rustc_driver/Cargo.toml
+++ b/compiler/rustc_driver/Cargo.toml
@@ -38,4 +38,4 @@ winapi = { version = "0.3", features = ["consoleapi", "debugapi", "processenv"]
 
 [features]
 llvm = ['rustc_interface/llvm']
-release_max_level_info = ['tracing/release_max_level_info']
+release_max_level_info = ['tracing/release_max_level_info', 'tracing/max_level_info']
diff --git a/config.toml.example b/config.toml.example
index a162c543a50..3bb6d3cad55 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -321,19 +321,19 @@
 # binary, otherwise they are omitted.
 #
 # Defaults to rust.debug value
-#debug-assertions = false
+#debug-assertions = debug
 
 # Whether or not debug assertions are enabled for the standard library.
 # Overrides the `debug-assertions` option, if defined.
 #
 # Defaults to rust.debug-assertions value
-#debug-assertions-std = false
+#debug-assertions-std = debug-assertions
 
 # Whether or not to leave debug! and trace! calls in the rust binary.
 # Overrides the `debug-assertions` option, if defined.
 # 
 # Defaults to rust.debug-assertions value
-#debug-logging = true
+#debug-logging = debug-assertions
 
 # Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`.
 # `0` - no debug info