about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorYuki Omoto <yukeomoto@gmail.com>2023-01-12 00:17:48 +0900
committerYuki Omoto <yukeomoto@gmail.com>2023-01-12 00:17:48 +0900
commit4e2a3567bc14ad7b7e9d28f31fc1a468976ebc81 (patch)
treeb1e06330b9cfad3f160b0acc8df47b7cf1602a99 /compiler/rustc_interface/src
parent1e4f90061cc4bc566f99ab21b1f101182b10cf0c (diff)
downloadrust-4e2a3567bc14ad7b7e9d28f31fc1a468976ebc81.tar.gz
rust-4e2a3567bc14ad7b7e9d28f31fc1a468976ebc81.zip
Add log-backtrace option to show backtraces along with logging
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index a3b9891ee64..07b28cc86ce 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -748,6 +748,7 @@ fn test_unstable_options_tracking_hash() {
     tracked!(link_only, true);
     tracked!(llvm_plugins, vec![String::from("plugin_name")]);
     tracked!(location_detail, LocationDetail { file: true, line: false, column: false });
+    tracked!(log_backtrace, Some("filter".to_string()));
     tracked!(maximal_hir_to_mir_coverage, true);
     tracked!(merge_functions, Some(MergeFunctions::Disabled));
     tracked!(mir_emit_retag, true);