@@ -175,6 +175,8 @@ pub const Subsystem = enum(u16) {
175175
176176 /// Windows boot application
177177 WINDOWS_BOOT_APPLICATION = 16 ,
178+
179+ _ ,
178180};
179181
180182pub const OptionalHeader = extern struct {
@@ -300,6 +302,8 @@ pub const DirectoryEntry = enum(u16) {
300302
301303 /// COM Runtime descriptor
302304 COM_DESCRIPTOR = 14 ,
305+
306+ _ ,
303307};
304308
305309pub const ImageDataDirectory = extern struct {
@@ -383,6 +387,8 @@ pub const BaseRelocationType = enum(u4) {
383387
384388 /// The base relocation applies the difference to the 64-bit field at offset.
385389 DIR64 = 10 ,
390+
391+ _ ,
386392};
387393
388394pub const DebugDirectoryEntry = extern struct {
@@ -414,6 +420,8 @@ pub const DebugType = enum(u32) {
414420 MPX = 15 ,
415421 REPRO = 16 ,
416422 EX_DLLCHARACTERISTICS = 20 ,
423+
424+ _ ,
417425};
418426
419427pub const ImportDirectoryEntry = extern struct {
@@ -736,6 +744,8 @@ pub const BaseType = enum(u8) {
736744
737745 /// An unsigned 4-byte integer
738746 DWORD = 15 ,
747+
748+ _ ,
739749};
740750
741751pub const ComplexType = enum (u8 ) {
@@ -750,6 +760,8 @@ pub const ComplexType = enum(u8) {
750760
751761 /// The symbol is an array of base type.
752762 ARRAY = 48 ,
763+
764+ _ ,
753765};
754766
755767pub const StorageClass = enum (u8 ) {
@@ -843,6 +855,8 @@ pub const StorageClass = enum(u8) {
843855 /// A CLR token symbol. The name is an ASCII string that consists of the hexadecimal value of the token.
844856 /// For more information, see CLR Token Definition (Object Only).
845857 CLR_TOKEN = 107 ,
858+
859+ _ ,
846860};
847861
848862pub const FunctionDefinition = struct {
@@ -915,6 +929,7 @@ pub const WeakExternalFlag = enum(u32) {
915929 SEARCH_LIBRARY = 2 ,
916930 SEARCH_ALIAS = 3 ,
917931 ANTI_DEPENDENCY = 4 ,
932+ _ ,
918933};
919934
920935pub const ComdatSelection = enum (u8 ) {
@@ -947,6 +962,8 @@ pub const ComdatSelection = enum(u8) {
947962 /// The linker chooses the largest definition from among all of the definitions for this symbol.
948963 /// If multiple definitions have this size, the choice between them is arbitrary.
949964 LARGEST = 6 ,
965+
966+ _ ,
950967};
951968
952969pub const DebugInfoDefinition = struct {
@@ -1016,6 +1033,8 @@ pub const MachineType = enum(u16) {
10161033 /// MIPS little-endian WCE v2
10171034 WCEMIPSV2 = 0x169 ,
10181035
1036+ _ ,
1037+
10191038 pub fn fromTargetCpuArch (arch : std.Target.Cpu.Arch ) MachineType {
10201039 return switch (arch ) {
10211040 .arm = > .ARM ,
0 commit comments