@@ -2758,6 +2758,13 @@ fn addNonIncrementalStuffToCacheManifest(
2758
2758
man .hash .addOptional (opts .allow_shlib_undefined );
2759
2759
man .hash .add (opts .bind_global_refs_locally );
2760
2760
2761
+ const EntryTag = @typeInfo (link .File .OpenOptions .Entry ).@"union" .tag_type .? ;
2762
+ man .hash .add (@as (EntryTag , opts .entry ));
2763
+ switch (opts .entry ) {
2764
+ .default , .disabled , .enabled = > {},
2765
+ .named = > | name | man .hash .addBytes (name ),
2766
+ }
2767
+
2761
2768
// ELF specific stuff
2762
2769
man .hash .add (opts .z_nodelete );
2763
2770
man .hash .add (opts .z_notext );
@@ -2779,6 +2786,9 @@ fn addNonIncrementalStuffToCacheManifest(
2779
2786
man .hash .addOptional (opts .max_memory );
2780
2787
man .hash .addOptional (opts .global_base );
2781
2788
man .hash .addListOfBytes (opts .export_symbol_names );
2789
+ man .hash .add (opts .import_symbols );
2790
+ man .hash .add (opts .import_table );
2791
+ man .hash .add (opts .export_table );
2782
2792
2783
2793
// Mach-O specific stuff
2784
2794
try link .File .MachO .hashAddFrameworks (man , opts .frameworks );
@@ -2789,6 +2799,9 @@ fn addNonIncrementalStuffToCacheManifest(
2789
2799
man .hash .add (opts .dead_strip_dylibs );
2790
2800
man .hash .add (opts .force_load_objc );
2791
2801
man .hash .add (opts .discard_local_symbols );
2802
+ man .hash .addOptional (opts .compatibility_version );
2803
+ man .hash .addOptionalBytes (opts .install_name );
2804
+ man .hash .addOptional (opts .darwin_sdk_layout );
2792
2805
2793
2806
// COFF specific stuff
2794
2807
man .hash .addOptional (opts .subsystem );
@@ -2797,6 +2810,8 @@ fn addNonIncrementalStuffToCacheManifest(
2797
2810
man .hash .add (opts .dynamicbase );
2798
2811
man .hash .addOptional (opts .major_subsystem_version );
2799
2812
man .hash .addOptional (opts .minor_subsystem_version );
2813
+ man .hash .addOptionalBytes (opts .pdb_source_path );
2814
+ man .hash .addOptionalBytes (opts .module_definition_file );
2800
2815
}
2801
2816
2802
2817
fn emitOthers (comp : * Compilation ) void {
0 commit comments