We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea46bd2 commit 73602f2Copy full SHA for 73602f2
lib/std/Target.zig
@@ -1912,7 +1912,11 @@ pub const Cpu = struct {
1912
.powerpc64le => &powerpc.cpu.ppc64le,
1913
.riscv32, .riscv32be => &riscv.cpu.baseline_rv32,
1914
.riscv64, .riscv64be => &riscv.cpu.baseline_rv64,
1915
- .s390x => &s390x.cpu.arch8, // gcc/clang do not have a generic s390x model.
+ // gcc/clang do not have a generic s390x model.
1916
+ .s390x => switch (os.tag) {
1917
+ .zos => &s390x.cpu.arch10,
1918
+ else => &s390x.cpu.arch8,
1919
+ },
1920
.sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8.
1921
.sparc64 => switch (os.tag) {
1922
.solaris => &sparc.cpu.ultrasparc3,
0 commit comments