diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-11-05 02:34:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-05 02:34:24 -0400 |
| commit | 1d680459197e7ba5e163d99e07fdfe54c2ad9225 (patch) | |
| tree | 3e95a4d15194369e1640dc508ebe9c064f11fb63 /src/Compilation.zig | |
| parent | e9a12491f6fe5e38a05eeef0e920f2dec23634a4 (diff) | |
| parent | 986b7ce5b27d5aa5fb2f31d70fd2cd863926bcba (diff) | |
| download | zig-1d680459197e7ba5e163d99e07fdfe54c2ad9225.tar.gz zig-1d680459197e7ba5e163d99e07fdfe54c2ad9225.zip | |
Merge pull request #13101 from alichraghi/o4
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 958aac5e1b..7903586450 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -4281,7 +4281,7 @@ pub fn addCCArgs( }, .ios, .tvos, .watchos => switch (target.cpu.arch) { // Pass the proper -m<os>-version-min argument for darwin. - .i386, .x86_64 => { + .x86, .x86_64 => { const ver = target.os.version_range.semver.min; try argv.append(try std.fmt.allocPrint( arena, @@ -4969,7 +4969,7 @@ pub fn getZigBackend(comp: Compilation) std.builtin.CompilerBackend { .wasm32, .wasm64 => std.builtin.CompilerBackend.stage2_wasm, .arm, .armeb, .thumb, .thumbeb => .stage2_arm, .x86_64 => .stage2_x86_64, - .i386 => .stage2_x86, + .x86 => .stage2_x86, .aarch64, .aarch64_be, .aarch64_32 => .stage2_aarch64, .riscv64 => .stage2_riscv64, .sparc64 => .stage2_sparc64, |
