Add log-backtrace option to show backtraces along with logging

This commit is contained in:
Yuki Omoto 2023-01-12 00:17:48 +09:00
parent 1e4f90061c
commit 4e2a3567bc
8 changed files with 83 additions and 4 deletions

View file

@ -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);