Skip to content

Commit da6877c

Browse files
committed
std.Target: Use arch8 as the baseline CPU model for s390x.
Fixes #9442.
1 parent 3e9ab6a commit da6877c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/std/Target.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,7 @@ pub const Cpu = struct {
15481548
.riscv64 => &riscv.cpu.baseline_rv64,
15491549
.x86 => &x86.cpu.pentium4,
15501550
.nvptx, .nvptx64 => &nvptx.cpu.sm_20,
1551+
.s390x => &s390x.cpu.arch8,
15511552
.sparc, .sparcel => &sparc.cpu.v8,
15521553
.loongarch64 => &loongarch.cpu.loongarch64,
15531554

0 commit comments

Comments
 (0)