Skip to content

Commit 20dcbf0

Browse files
committed
Auto merge of #79397 - camelid:polonious-incr-comp, r=jonas-schievink
TRACK '-Z polonius' flag Fixes #79316. r? `@jonas-schievink`
2 parents 773ddba + c4caf5a commit 20dcbf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: compiler/rustc_interface/src/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,6 @@ fn test_debugging_options_tracking_hash() {
498498
untracked!(no_parallel_llvm, true);
499499
untracked!(parse_only, true);
500500
untracked!(perf_stats, true);
501-
untracked!(polonius, true);
502501
// `pre_link_arg` is omitted because it just forwards to `pre_link_args`.
503502
untracked!(pre_link_args, vec![String::from("abc"), String::from("def")]);
504503
untracked!(print_link_args, true);
@@ -572,6 +571,7 @@ fn test_debugging_options_tracking_hash() {
572571
tracked!(osx_rpath_install_name, true);
573572
tracked!(panic_abort_tests, true);
574573
tracked!(plt, Some(true));
574+
tracked!(polonius, true);
575575
tracked!(precise_enum_drop_elaboration, false);
576576
tracked!(print_fuel, Some("abc".to_string()));
577577
tracked!(profile, true);

Diff for: compiler/rustc_session/src/options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
10081008
"whether to use the PLT when calling into shared libraries;
10091009
only has effect for PIC code on systems with ELF binaries
10101010
(default: PLT is disabled if full relro is enabled)"),
1011-
polonius: bool = (false, parse_bool, [UNTRACKED],
1011+
polonius: bool = (false, parse_bool, [TRACKED],
10121012
"enable polonius-based borrow-checker (default: no)"),
10131013
polymorphize: bool = (false, parse_bool, [TRACKED],
10141014
"perform polymorphization analysis"),

0 commit comments

Comments
 (0)