@@ -330,14 +330,6 @@ macro_rules! hash_option {
330
330
bug!("Duplicate key in CLI DepTrackingHash: {}", stringify!($opt_name))
331
331
}
332
332
});
333
- ($opt_name:ident,
334
- $opt_expr:expr,
335
- $sub_hashes:expr,
336
- [UNTRACKED_WITH_WARNING $warn_val:expr, $warn_text:expr, $error_format:expr]) => ({
337
- if *$opt_expr == $warn_val {
338
- early_warn($error_format, $warn_text)
339
- }
340
- });
341
333
}
342
334
343
335
macro_rules! top_level_options {
@@ -383,10 +375,6 @@ macro_rules! top_level_options {
383
375
// [UNTRACKED]
384
376
// Incremental compilation is not influenced by this option.
385
377
//
386
- // [UNTRACKED_WITH_WARNING(val, warning)]
387
- // The option is incompatible with incremental compilation in some way. If it
388
- // has the value `val`, the string `warning` is emitted as a warning.
389
- //
390
378
// If you add a new option to this struct or one of the sub-structs like
391
379
// CodegenOptions, think about how it influences incremental compilation. If in
392
380
// doubt, specify [TRACKED], which is always "correct" but might lead to
@@ -1163,9 +1151,7 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
1163
1151
"a list of extra LLVM passes to run (space separated)"),
1164
1152
llvm_args: Vec<String> = (Vec::new(), parse_list, [TRACKED],
1165
1153
"a list of arguments to pass to llvm (space separated)"),
1166
- save_temps: bool = (false, parse_bool, [UNTRACKED_WITH_WARNING(true,
1167
- "`-C save-temps` might not produce all requested temporary products \
1168
- when incremental compilation is enabled.")],
1154
+ save_temps: bool = (false, parse_bool, [UNTRACKED],
1169
1155
"save all temporary output files during compilation"),
1170
1156
rpath: bool = (false, parse_bool, [UNTRACKED],
1171
1157
"set rpath values in libs/exes"),
@@ -1241,9 +1227,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
1241
1227
"measure time of each rustc pass"),
1242
1228
time: bool = (false, parse_bool, [UNTRACKED],
1243
1229
"measure time of rustc processes"),
1244
- time_llvm_passes: bool = (false, parse_bool, [UNTRACKED_WITH_WARNING(true,
1245
- "The output of `-Z time-llvm-passes` will only reflect timings of \
1246
- re-codegened modules when used with incremental compilation" )],
1230
+ time_llvm_passes: bool = (false, parse_bool, [UNTRACKED],
1247
1231
"measure time of each LLVM pass"),
1248
1232
input_stats: bool = (false, parse_bool, [UNTRACKED],
1249
1233
"gather statistics about the input"),
0 commit comments