authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-27 01:20:19+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-28 00:24:09+02:00
loge7b46363aea6e42c206cb7b1bd8c9b47a83d9045
tree9a31a2fea3bf9b68a461f65073c6bf5c5caa3158
parent1b76d4c53adafebcbfcf0476276375353139dacb

std.Target: Remove Os.Tag.elfiamcu.

The last Intel Quark MCU was released in 2015. Quark was announced to be EOL in 2019, and stopped shipping entirely in 2022. The OS tag was only meaningful for Intel's weird fork of Linux 3.8.7 with a special ABI that differs from the regular i386 System V ABI; beyond that, the CPU itself is just a plain old P54C (i586). We of course keep support for the CPU itself, just not Intel's Linux fork.

8 files changed, 37 insertions(+), 82 deletions(-)

lib/compiler/aro/aro/Driver/GCCDetector.zig+6-10
...@@ -284,15 +284,11 @@ fn collectLibDirsAndTriples(...@@ -284,15 +284,11 @@ fn collectLibDirsAndTriples(
284 },284 },
285 .x86 => {285 .x86 => {
286 lib_dirs.appendSliceAssumeCapacity(&X86LibDirs);286 lib_dirs.appendSliceAssumeCapacity(&X86LibDirs);
287 // MCU toolchain is 32 bit only and its triple alias is TargetTriple287 triple_aliases.appendSliceAssumeCapacity(&X86Triples);
288 // itself, which will be appended below.288 biarch_libdirs.appendSliceAssumeCapacity(&X86_64LibDirs);
289 if (target.os.tag != .elfiamcu) {289 biarch_triple_aliases.appendSliceAssumeCapacity(&X86_64Triples);
290 triple_aliases.appendSliceAssumeCapacity(&X86Triples);290 biarch_libdirs.appendSliceAssumeCapacity(&X32LibDirs);
291 biarch_libdirs.appendSliceAssumeCapacity(&X86_64LibDirs);291 biarch_triple_aliases.appendSliceAssumeCapacity(&X32Triples);
292 biarch_triple_aliases.appendSliceAssumeCapacity(&X86_64Triples);
293 biarch_libdirs.appendSliceAssumeCapacity(&X32LibDirs);
294 biarch_triple_aliases.appendSliceAssumeCapacity(&X32Triples);
295 }
296 },292 },
297 .loongarch64 => {293 .loongarch64 => {
298 lib_dirs.appendSliceAssumeCapacity(&LoongArch64LibDirs);294 lib_dirs.appendSliceAssumeCapacity(&LoongArch64LibDirs);
...@@ -511,7 +507,7 @@ fn findBiarchMultilibs(...@@ -511,7 +507,7 @@ fn findBiarchMultilibs(
511507
512 const multilib_filter = Multilib.Filter{508 const multilib_filter = Multilib.Filter{
513 .base = path,509 .base = path,
514 .file = if (target.os.tag == .elfiamcu) "libgcc.a" else "crtbegin.o",510 .file = "crtbegin.o",
515 };511 };
516512
517 const Want = enum {513 const Want = enum {
lib/compiler/aro/aro/Toolchain.zig+1-4
...@@ -83,9 +83,7 @@ pub fn discover(tc: *Toolchain) !void {...@@ -83,9 +83,7 @@ pub fn discover(tc: *Toolchain) !void {
8383
84 const target = tc.getTarget();84 const target = tc.getTarget();
85 tc.inner = switch (target.os.tag) {85 tc.inner = switch (target.os.tag) {
86 .elfiamcu,86 .linux => if (target.cpu.arch == .hexagon)
87 .linux,
88 => if (target.cpu.arch == .hexagon)
89 .{ .unknown = {} } // TODO87 .{ .unknown = {} } // TODO
90 else if (target.cpu.arch.isMIPS())88 else if (target.cpu.arch.isMIPS())
91 .{ .unknown = {} } // TODO89 .{ .unknown = {} } // TODO
...@@ -418,7 +416,6 @@ fn addUnwindLibrary(tc: *const Toolchain, argv: *std.ArrayList([]const u8)) !voi...@@ -418,7 +416,6 @@ fn addUnwindLibrary(tc: *const Toolchain, argv: *std.ArrayList([]const u8)) !voi
418 const unw = try tc.getUnwindLibKind();416 const unw = try tc.getUnwindLibKind();
419 const target = tc.getTarget();417 const target = tc.getTarget();
420 if ((target.abi.isAndroid() and unw == .libgcc) or418 if ((target.abi.isAndroid() and unw == .libgcc) or
421 target.os.tag == .elfiamcu or
422 target.ofmt == .wasm or419 target.ofmt == .wasm or
423 target_util.isWindowsMSVCEnvironment(target) or420 target_util.isWindowsMSVCEnvironment(target) or
424 unw == .none) return;421 unw == .none) return;
lib/compiler/aro/aro/target.zig+1-2
...@@ -412,7 +412,7 @@ pub fn defaultFpEvalMethod(target: std.Target) LangOpts.FPEvalMethod {...@@ -412,7 +412,7 @@ pub fn defaultFpEvalMethod(target: std.Target) LangOpts.FPEvalMethod {
412/// Value of the `-m` flag for `ld` for this target412/// Value of the `-m` flag for `ld` for this target
413pub fn ldEmulationOption(target: std.Target, arm_endianness: ?std.builtin.Endian) ?[]const u8 {413pub fn ldEmulationOption(target: std.Target, arm_endianness: ?std.builtin.Endian) ?[]const u8 {
414 return switch (target.cpu.arch) {414 return switch (target.cpu.arch) {
415 .x86 => if (target.os.tag == .elfiamcu) "elf_iamcu" else "elf_i386",415 .x86 => "elf_i386",
416 .arm,416 .arm,
417 .armeb,417 .armeb,
418 .thumb,418 .thumb,
...@@ -642,7 +642,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {...@@ -642,7 +642,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
642 .amdhsa => "amdhsa",642 .amdhsa => "amdhsa",
643 .ps4 => "ps4",643 .ps4 => "ps4",
644 .ps5 => "ps5",644 .ps5 => "ps5",
645 .elfiamcu => "elfiamcu",
646 .mesa3d => "mesa3d",645 .mesa3d => "mesa3d",
647 .contiki => "contiki",646 .contiki => "contiki",
648 .amdpal => "amdpal",647 .amdpal => "amdpal",
lib/compiler/aro/aro/toolchains/Linux.zig+3-12
...@@ -170,7 +170,6 @@ pub fn buildLinkerArgs(self: *const Linux, tc: *const Toolchain, argv: *std.Arra...@@ -170,7 +170,6 @@ pub fn buildLinkerArgs(self: *const Linux, tc: *const Toolchain, argv: *std.Arra
170 const is_static_pie = try self.getStaticPIE(d);170 const is_static_pie = try self.getStaticPIE(d);
171 const is_static = self.getStatic(d);171 const is_static = self.getStatic(d);
172 const is_android = target.abi.isAndroid();172 const is_android = target.abi.isAndroid();
173 const is_iamcu = target.os.tag == .elfiamcu;
174 const is_ve = target.cpu.arch == .ve;173 const is_ve = target.cpu.arch == .ve;
175 const has_crt_begin_end_files = target.abi != .none; // TODO: clang checks for MIPS vendor174 const has_crt_begin_end_files = target.abi != .none; // TODO: clang checks for MIPS vendor
176175
...@@ -225,7 +224,7 @@ pub fn buildLinkerArgs(self: *const Linux, tc: *const Toolchain, argv: *std.Arra...@@ -225,7 +224,7 @@ pub fn buildLinkerArgs(self: *const Linux, tc: *const Toolchain, argv: *std.Arra
225 try argv.appendSlice(&.{ "-o", d.output_name orelse "a.out" });224 try argv.appendSlice(&.{ "-o", d.output_name orelse "a.out" });
226225
227 if (!d.nostdlib and !d.nostartfiles and !d.relocatable) {226 if (!d.nostdlib and !d.nostartfiles and !d.relocatable) {
228 if (!is_android and !is_iamcu) {227 if (!is_android) {
229 if (!d.shared) {228 if (!d.shared) {
230 const crt1 = if (is_pie)229 const crt1 = if (is_pie)
231 "Scrt1.o"230 "Scrt1.o"
...@@ -241,9 +240,7 @@ pub fn buildLinkerArgs(self: *const Linux, tc: *const Toolchain, argv: *std.Arra...@@ -241,9 +240,7 @@ pub fn buildLinkerArgs(self: *const Linux, tc: *const Toolchain, argv: *std.Arra
241 try argv.appendSlice(&.{ "-z", "max-page-size=0x4000000" });240 try argv.appendSlice(&.{ "-z", "max-page-size=0x4000000" });
242 }241 }
243242
244 if (is_iamcu) {243 if (has_crt_begin_end_files) {
245 try argv.append(try tc.getFilePath("crt0.o"));
246 } else if (has_crt_begin_end_files) {
247 var path: []const u8 = "";244 var path: []const u8 = "";
248 if (tc.getRuntimeLibKind() == .compiler_rt and !is_android) {245 if (tc.getRuntimeLibKind() == .compiler_rt and !is_android) {
249 const crt_begin = try tc.getCompilerRt("crtbegin", .object);246 const crt_begin = try tc.getCompilerRt("crtbegin", .object);
...@@ -285,19 +282,13 @@ pub fn buildLinkerArgs(self: *const Linux, tc: *const Toolchain, argv: *std.Arra...@@ -285,19 +282,13 @@ pub fn buildLinkerArgs(self: *const Linux, tc: *const Toolchain, argv: *std.Arra
285 if (!d.nolibc) {282 if (!d.nolibc) {
286 try argv.append("-lc");283 try argv.append("-lc");
287 }284 }
288 if (is_iamcu) {
289 try argv.append("-lgloss");
290 }
291 if (is_static or is_static_pie) {285 if (is_static or is_static_pie) {
292 try argv.append("--end-group");286 try argv.append("--end-group");
293 } else {287 } else {
294 try tc.addRuntimeLibs(argv);288 try tc.addRuntimeLibs(argv);
295 }289 }
296 if (is_iamcu) {
297 try argv.appendSlice(&.{ "--as-needed", "-lsoftfp", "--no-as-needed" });
298 }
299 }290 }
300 if (!d.nostartfiles and !is_iamcu) {291 if (!d.nostartfiles) {
301 if (has_crt_begin_end_files) {292 if (has_crt_begin_end_files) {
302 var path: []const u8 = "";293 var path: []const u8 = "";
303 if (tc.getRuntimeLibKind() == .compiler_rt and !is_android) {294 if (tc.getRuntimeLibKind() == .compiler_rt and !is_android) {
lib/std/Target.zig+3-24
...@@ -20,7 +20,6 @@ pub const Os = struct {...@@ -20,7 +20,6 @@ pub const Os = struct {
20 other,20 other,
2121
22 contiki,22 contiki,
23 elfiamcu,
24 fuchsia,23 fuchsia,
25 hermit,24 hermit,
2625
...@@ -156,8 +155,6 @@ pub const Os = struct {...@@ -156,8 +155,6 @@ pub const Os = struct {
156 .freestanding,155 .freestanding,
157 .other,156 .other,
158157
159 .elfiamcu,
160
161 .haiku,158 .haiku,
162 .plan9,159 .plan9,
163 .serenity,160 .serenity,
...@@ -400,8 +397,6 @@ pub const Os = struct {...@@ -400,8 +397,6 @@ pub const Os = struct {
400 .freestanding,397 .freestanding,
401 .other,398 .other,
402399
403 .elfiamcu,
404
405 .haiku,400 .haiku,
406 .plan9,401 .plan9,
407 .serenity,402 .serenity,
...@@ -729,7 +724,6 @@ pub const Os = struct {...@@ -729,7 +724,6 @@ pub const Os = struct {
729 .amdhsa,724 .amdhsa,
730 .ps4,725 .ps4,
731 .ps5,726 .ps5,
732 .elfiamcu,
733 .mesa3d,727 .mesa3d,
734 .contiki,728 .contiki,
735 .amdpal,729 .amdpal,
...@@ -922,7 +916,6 @@ pub const Abi = enum {...@@ -922,7 +916,6 @@ pub const Abi = enum {
922 .wasi, .emscripten => .musl,916 .wasi, .emscripten => .musl,
923917
924 .contiki,918 .contiki,
925 .elfiamcu,
926 .fuchsia,919 .fuchsia,
927 .hermit,920 .hermit,
928 .plan9,921 .plan9,
...@@ -1094,7 +1087,7 @@ pub fn toElfMachine(target: Target) std.elf.EM {...@@ -1094,7 +1087,7 @@ pub fn toElfMachine(target: Target) std.elf.EM {
1094 .sparc => if (Target.sparc.featureSetHas(target.cpu.features, .v9)) .SPARC32PLUS else .SPARC,1087 .sparc => if (Target.sparc.featureSetHas(target.cpu.features, .v9)) .SPARC32PLUS else .SPARC,
1095 .sparc64 => .SPARCV9,1088 .sparc64 => .SPARCV9,
1096 .ve => .VE,1089 .ve => .VE,
1097 .x86 => if (target.os.tag == .elfiamcu) .IAMCU else .@"386",1090 .x86 => .@"386",
1098 .x86_64 => .X86_64,1091 .x86_64 => .X86_64,
1099 .xcore => .XCORE,1092 .xcore => .XCORE,
1100 .xtensa => .XTENSA,1093 .xtensa => .XTENSA,
...@@ -2155,7 +2148,6 @@ pub const DynamicLinker = struct {...@@ -2155,7 +2148,6 @@ pub const DynamicLinker = struct {
2155 .other,2148 .other,
21562149
2157 .contiki,2150 .contiki,
2158 .elfiamcu,
2159 .hermit,2151 .hermit,
21602152
2161 .aix,2153 .aix,
...@@ -2550,7 +2542,6 @@ pub const DynamicLinker = struct {...@@ -2550,7 +2542,6 @@ pub const DynamicLinker = struct {
2550 .other,2542 .other,
25512543
2552 .contiki,2544 .contiki,
2553 .elfiamcu,
2554 .hermit,2545 .hermit,
25552546
2556 .aix,2547 .aix,
...@@ -2690,7 +2681,7 @@ pub fn stackAlignment(target: Target) u16 {...@@ -2690,7 +2681,7 @@ pub fn stackAlignment(target: Target) u16 {
2690 .riscv64,2681 .riscv64,
2691 => if (!Target.riscv.featureSetHas(target.cpu.features, .e)) return 16,2682 => if (!Target.riscv.featureSetHas(target.cpu.features, .e)) return 16,
2692 .x86 => if (target.os.tag != .windows and target.os.tag != .uefi) return 16,2683 .x86 => if (target.os.tag != .windows and target.os.tag != .uefi) return 16,
2693 .x86_64 => return if (target.os.tag == .elfiamcu) 4 else 16,2684 .x86_64 => return 16,
2694 else => {},2685 else => {},
2695 }2686 }
26962687
...@@ -2851,7 +2842,6 @@ pub fn cTypeBitSize(target: Target, c_type: CType) u16 {...@@ -2851,7 +2842,6 @@ pub fn cTypeBitSize(target: Target, c_type: CType) u16 {
2851 },2842 },
2852 },2843 },
28532844
2854 .elfiamcu,
2855 .fuchsia,2845 .fuchsia,
2856 .hermit,2846 .hermit,
28572847
...@@ -2918,10 +2908,7 @@ pub fn cTypeBitSize(target: Target, c_type: CType) u16 {...@@ -2918,10 +2908,7 @@ pub fn cTypeBitSize(target: Target, c_type: CType) u16 {
2918 .longdouble => switch (target.cpu.arch) {2908 .longdouble => switch (target.cpu.arch) {
2919 .x86 => switch (target.abi) {2909 .x86 => switch (target.abi) {
2920 .android => return 64,2910 .android => return 64,
2921 else => switch (target.os.tag) {2911 else => return 80,
2922 .elfiamcu => return 64,
2923 else => return 80,
2924 },
2925 },2912 },
29262913
2927 .powerpc,2914 .powerpc,
...@@ -3089,10 +3076,6 @@ pub fn cTypeAlignment(target: Target, c_type: CType) u16 {...@@ -3089,10 +3076,6 @@ pub fn cTypeAlignment(target: Target, c_type: CType) u16 {
3089 switch (target.cpu.arch) {3076 switch (target.cpu.arch) {
3090 .avr => return 1,3077 .avr => return 1,
3091 .x86 => switch (target.os.tag) {3078 .x86 => switch (target.os.tag) {
3092 .elfiamcu => switch (c_type) {
3093 .longlong, .ulonglong, .double => return 4,
3094 else => {},
3095 },
3096 .windows, .uefi => switch (c_type) {3079 .windows, .uefi => switch (c_type) {
3097 .longlong, .ulonglong, .double => return 8,3080 .longlong, .ulonglong, .double => return 8,
3098 .longdouble => switch (target.abi) {3081 .longdouble => switch (target.abi) {
...@@ -3191,10 +3174,6 @@ pub fn cTypePreferredAlignment(target: Target, c_type: CType) u16 {...@@ -3191,10 +3174,6 @@ pub fn cTypePreferredAlignment(target: Target, c_type: CType) u16 {
3191 },3174 },
3192 .avr => return 1,3175 .avr => return 1,
3193 .x86 => switch (target.os.tag) {3176 .x86 => switch (target.os.tag) {
3194 .elfiamcu => switch (c_type) {
3195 .longlong, .ulonglong, .double, .longdouble => return 4,
3196 else => {},
3197 },
3198 .windows, .uefi => switch (c_type) {3177 .windows, .uefi => switch (c_type) {
3199 .longdouble => switch (target.abi) {3178 .longdouble => switch (target.abi) {
3200 .gnu, .ilp32, .cygnus => return 4,3179 .gnu, .ilp32, .cygnus => return 4,
src/codegen/llvm.zig+23-28
...@@ -208,7 +208,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {...@@ -208,7 +208,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
208 .opencl => "unknown", // https://llvm.org/docs/SPIRVUsage.html#target-triples208 .opencl => "unknown", // https://llvm.org/docs/SPIRVUsage.html#target-triples
209 .ps4 => "ps4",209 .ps4 => "ps4",
210 .ps5 => "ps5",210 .ps5 => "ps5",
211 .elfiamcu => "elfiamcu",
212 .mesa3d => "mesa3d",211 .mesa3d => "mesa3d",
213 .amdpal => "amdpal",212 .amdpal => "amdpal",
214 .hermit => "hermit",213 .hermit => "hermit",
...@@ -402,36 +401,32 @@ pub fn dataLayout(target: std.Target) []const u8 {...@@ -402,36 +401,32 @@ pub fn dataLayout(target: std.Target) []const u8 {
402 "E-m:l-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"401 "E-m:l-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
403 else402 else
404 "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64",403 "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64",
405 .x86 => switch (target.os.tag) {404 .x86 => if (target.os.tag == .windows) switch (target.abi) {
406 .elfiamcu => "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:32-f64:32-f128:32-n8:16:32-a:0:32-S32",405 .cygnus => "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32",
407 .windows => switch (target.abi) {406 .gnu => if (target.ofmt == .coff)
408 .cygnus => "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32",407 "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32"
409 .gnu => if (target.ofmt == .coff)408 else
410 "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32"409 "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32",
411 else410 else => blk: {
412 "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32",411 const msvc = switch (target.abi) {
413 else => blk: {412 .none, .msvc => true,
414 const msvc = switch (target.abi) {413 else => false,
415 .none, .msvc => true,414 };
416 else => false,
417 };
418415
419 break :blk if (target.ofmt == .coff)416 break :blk if (target.ofmt == .coff)
420 if (msvc)417 if (msvc)
421 "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32-a:0:32-S32"418 "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32-a:0:32-S32"
422 else
423 "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32"
424 else if (msvc)
425 "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32-a:0:32-S32"
426 else419 else
427 "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32";420 "e-m:x-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32"
428 },421 else if (msvc)
422 "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32-a:0:32-S32"
423 else
424 "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:32-n8:16:32-a:0:32-S32";
429 },425 },
430 else => if (target.ofmt == .macho)426 } else if (target.ofmt == .macho)
431 "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128"427 "e-m:o-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128"
432 else428 else
433 "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128",429 "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-i128:128-f64:32:64-f80:32-n8:16:32-S128",
434 },
435 .x86_64 => if (target.os.tag.isDarwin() or target.ofmt == .macho)430 .x86_64 => if (target.os.tag.isDarwin() or target.ofmt == .macho)
436 "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"431 "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
437 else switch (target.abi) {432 else switch (target.abi) {
src/link/Elf.zig-1
...@@ -4174,7 +4174,6 @@ fn getLDMOption(target: std.Target) ?[]const u8 {...@@ -4174,7 +4174,6 @@ fn getLDMOption(target: std.Target) ?[]const u8 {
4174 .s390x => "elf64_s390",4174 .s390x => "elf64_s390",
4175 .sparc64 => "elf64_sparc",4175 .sparc64 => "elf64_sparc",
4176 .x86 => switch (target.os.tag) {4176 .x86 => switch (target.os.tag) {
4177 .elfiamcu => "elf_iamcu",
4178 .freebsd => "elf_i386_fbsd",4177 .freebsd => "elf_i386_fbsd",
4179 else => "elf_i386",4178 else => "elf_i386",
4180 },4179 },
test/llvm_targets.zig-1
...@@ -292,7 +292,6 @@ const targets = [_]std.Target.Query{...@@ -292,7 +292,6 @@ const targets = [_]std.Target.Query{
292 .{ .cpu_arch = .wasm64, .os_tag = .wasi, .abi = .musl },292 .{ .cpu_arch = .wasm64, .os_tag = .wasi, .abi = .musl },
293 .{ .cpu_arch = .wasm64, .os_tag = .wasi, .abi = .none },293 .{ .cpu_arch = .wasm64, .os_tag = .wasi, .abi = .none },
294294
295 .{ .cpu_arch = .x86, .os_tag = .elfiamcu, .abi = .none },
296 .{ .cpu_arch = .x86, .os_tag = .freebsd, .abi = .none },295 .{ .cpu_arch = .x86, .os_tag = .freebsd, .abi = .none },
297 .{ .cpu_arch = .x86, .os_tag = .freestanding, .abi = .none },296 .{ .cpu_arch = .x86, .os_tag = .freestanding, .abi = .none },
298 .{ .cpu_arch = .x86, .os_tag = .haiku, .abi = .none },297 .{ .cpu_arch = .x86, .os_tag = .haiku, .abi = .none },