@@ -1047,6 +1047,7 @@ impl Default for Options {
10471047 target_triple : TargetTriple :: from_triple ( host_triple ( ) ) ,
10481048 test : false ,
10491049 incremental : None ,
1050+ untracked_state_hash : Default :: default ( ) ,
10501051 unstable_opts : Default :: default ( ) ,
10511052 prints : Vec :: new ( ) ,
10521053 cg : Default :: default ( ) ,
@@ -2889,6 +2890,7 @@ pub fn build_session_options(
28892890 target_triple,
28902891 test,
28912892 incremental,
2893+ untracked_state_hash : Default :: default ( ) ,
28922894 unstable_opts,
28932895 prints,
28942896 cg,
@@ -3167,17 +3169,17 @@ impl PpMode {
31673169/// we have an opt-in scheme here, so one is hopefully forced to think about
31683170/// how the hash should be calculated when adding a new command-line argument.
31693171pub ( crate ) mod dep_tracking {
3170- use super :: Polonius ;
31713172 use super :: {
31723173 BranchProtection , CFGuard , CFProtection , CrateType , DebugInfo , DebugInfoCompression ,
31733174 ErrorOutputType , InstrumentCoverage , InstrumentXRay , LinkerPluginLto , LocationDetail ,
3174- LtoCli , OomStrategy , OptLevel , OutFileName , OutputType , OutputTypes , Passes ,
3175+ LtoCli , OomStrategy , OptLevel , OutFileName , OutputType , OutputTypes , Polonius ,
31753176 ResolveDocLinks , SourceFileHashAlgorithm , SplitDwarfKind , SwitchWithOptPath ,
31763177 SymbolManglingVersion , TraitSolver , TrimmedDefPaths ,
31773178 } ;
31783179 use crate :: lint;
31793180 use crate :: options:: WasiExecModel ;
3180- use crate :: utils:: { NativeLib , NativeLibKind } ;
3181+ use crate :: utils:: NativeLib ;
3182+ use rustc_data_structures:: stable_hasher:: Hash64 ;
31813183 use rustc_errors:: LanguageIdentifier ;
31823184 use rustc_feature:: UnstableFeatures ;
31833185 use rustc_span:: edition:: Edition ;
@@ -3233,6 +3235,7 @@ pub(crate) mod dep_tracking {
32333235 usize ,
32343236 NonZeroUsize ,
32353237 u64 ,
3238+ Hash64 ,
32363239 String ,
32373240 PathBuf ,
32383241 lint:: Level ,
@@ -3247,14 +3250,12 @@ pub(crate) mod dep_tracking {
32473250 MergeFunctions ,
32483251 PanicStrategy ,
32493252 RelroLevel ,
3250- Passes ,
32513253 OptLevel ,
32523254 LtoCli ,
32533255 DebugInfo ,
32543256 DebugInfoCompression ,
32553257 UnstableFeatures ,
32563258 NativeLib ,
3257- NativeLibKind ,
32583259 SanitizerSet ,
32593260 CFGuard ,
32603261 CFProtection ,
0 commit comments