@@ -1047,6 +1047,7 @@ impl Default for Options {
1047
1047
target_triple : TargetTriple :: from_triple ( host_triple ( ) ) ,
1048
1048
test : false ,
1049
1049
incremental : None ,
1050
+ untracked_state_hash : Default :: default ( ) ,
1050
1051
unstable_opts : Default :: default ( ) ,
1051
1052
prints : Vec :: new ( ) ,
1052
1053
cg : Default :: default ( ) ,
@@ -2889,6 +2890,7 @@ pub fn build_session_options(
2889
2890
target_triple,
2890
2891
test,
2891
2892
incremental,
2893
+ untracked_state_hash : Default :: default ( ) ,
2892
2894
unstable_opts,
2893
2895
prints,
2894
2896
cg,
@@ -3167,17 +3169,17 @@ impl PpMode {
3167
3169
/// we have an opt-in scheme here, so one is hopefully forced to think about
3168
3170
/// how the hash should be calculated when adding a new command-line argument.
3169
3171
pub ( crate ) mod dep_tracking {
3170
- use super :: Polonius ;
3171
3172
use super :: {
3172
3173
BranchProtection , CFGuard , CFProtection , CrateType , DebugInfo , DebugInfoCompression ,
3173
3174
ErrorOutputType , InstrumentCoverage , InstrumentXRay , LinkerPluginLto , LocationDetail ,
3174
- LtoCli , OomStrategy , OptLevel , OutFileName , OutputType , OutputTypes , Passes ,
3175
+ LtoCli , OomStrategy , OptLevel , OutFileName , OutputType , OutputTypes , Polonius ,
3175
3176
ResolveDocLinks , SourceFileHashAlgorithm , SplitDwarfKind , SwitchWithOptPath ,
3176
3177
SymbolManglingVersion , TraitSolver , TrimmedDefPaths ,
3177
3178
} ;
3178
3179
use crate :: lint;
3179
3180
use crate :: options:: WasiExecModel ;
3180
- use crate :: utils:: { NativeLib , NativeLibKind } ;
3181
+ use crate :: utils:: NativeLib ;
3182
+ use rustc_data_structures:: stable_hasher:: Hash64 ;
3181
3183
use rustc_errors:: LanguageIdentifier ;
3182
3184
use rustc_feature:: UnstableFeatures ;
3183
3185
use rustc_span:: edition:: Edition ;
@@ -3233,6 +3235,7 @@ pub(crate) mod dep_tracking {
3233
3235
usize ,
3234
3236
NonZeroUsize ,
3235
3237
u64 ,
3238
+ Hash64 ,
3236
3239
String ,
3237
3240
PathBuf ,
3238
3241
lint:: Level ,
@@ -3247,14 +3250,12 @@ pub(crate) mod dep_tracking {
3247
3250
MergeFunctions ,
3248
3251
PanicStrategy ,
3249
3252
RelroLevel ,
3250
- Passes ,
3251
3253
OptLevel ,
3252
3254
LtoCli ,
3253
3255
DebugInfo ,
3254
3256
DebugInfoCompression ,
3255
3257
UnstableFeatures ,
3256
3258
NativeLib ,
3257
- NativeLibKind ,
3258
3259
SanitizerSet ,
3259
3260
CFGuard ,
3260
3261
CFProtection ,
0 commit comments