diff options
| author | klensy <klensy@users.noreply.github.com> | 2025-01-05 15:32:20 +0300 | 
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2025-01-06 15:38:02 +0300 | 
| commit | 37f26311ebd2895e8052a4caa4c89dedf6fbef9d (patch) | |
| tree | 367889150aff23241b0d5bb399ab8bb1c26519f9 /compiler/rustc_interface/src | |
| parent | 7270e73b622d60e770936ace5271a068fa32785b (diff) | |
| download | rust-37f26311ebd2895e8052a4caa4c89dedf6fbef9d.tar.gz rust-37f26311ebd2895e8052a4caa4c89dedf6fbef9d.zip  | |
add deprecated and do nothing flag to options table
inline_threshold mark deprecated no-stack-check print deprecation message for -Car too inline_threshold deprecated and do nothing: make in untracked make OptionDesc struct from tuple
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 9ad69039914..bb5f1c295c7 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -582,6 +582,7 @@ fn test_codegen_options_tracking_hash() { untracked!(dlltool, Some(PathBuf::from("custom_dlltool.exe"))); untracked!(extra_filename, String::from("extra-filename")); untracked!(incremental, Some(String::from("abc"))); + untracked!(inline_threshold, Some(0xf007ba11)); // `link_arg` is omitted because it just forwards to `link_args`. untracked!(link_args, vec![String::from("abc"), String::from("def")]); untracked!(link_self_contained, LinkSelfContained::on()); @@ -613,7 +614,6 @@ fn test_codegen_options_tracking_hash() { tracked!(embed_bitcode, false); tracked!(force_frame_pointers, FramePointer::Always); tracked!(force_unwind_tables, Some(true)); - tracked!(inline_threshold, Some(0xf007ba11)); tracked!(instrument_coverage, InstrumentCoverage::Yes); tracked!(link_dead_code, Some(true)); tracked!(linker_plugin_lto, LinkerPluginLto::LinkerPluginAuto);  | 
