Skip to content

Commit 43f73c0

Browse files
committed
inline_threshold deprecated and do nothing: make in untracked
1 parent 5334b5a commit 43f73c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_interface/src/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,6 @@ fn test_codegen_options_tracking_hash() {
613613
tracked!(embed_bitcode, false);
614614
tracked!(force_frame_pointers, FramePointer::Always);
615615
tracked!(force_unwind_tables, Some(true));
616-
tracked!(inline_threshold, Some(0xf007ba11));
617616
tracked!(instrument_coverage, InstrumentCoverage::Yes);
618617
tracked!(link_dead_code, Some(true));
619618
tracked!(linker_plugin_lto, LinkerPluginLto::LinkerPluginAuto);
@@ -700,6 +699,7 @@ fn test_unstable_options_tracking_hash() {
700699
untracked!(identify_regions, true);
701700
untracked!(incremental_info, true);
702701
untracked!(incremental_verify_ich, true);
702+
untracked!(inline_threshold, Some(0xf007ba11));
703703
untracked!(input_stats, true);
704704
untracked!(link_native_libraries, false);
705705
untracked!(llvm_time_trace, true);

compiler/rustc_session/src/options.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ options! {
15861586
incremental: Option<String> = (None, parse_opt_string, [UNTRACKED],
15871587
"enable incremental compilation"),
15881588
#[rustc_lint_opt_deny_field_access("documented to do nothing")]
1589-
inline_threshold: Option<u32> = (None, parse_opt_number, [TRACKED],
1589+
inline_threshold: Option<u32> = (None, parse_opt_number, [UNTRACKED],
15901590
"this option is deprecated and does nothing \
15911591
(consider using `-Cllvm-args=--inline-threshold=...`)",
15921592
deprecated_do_nothing: true),

0 commit comments

Comments
 (0)