zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 1fd1fadc0286d8a87816351ca148a36f3c7b463e (tree)
parent 51962172f70c919ab0e89937216a65aef4a06307
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Fri, 22 May 2026 03:05:48 +0200

std.Target: make ultrasparc the baseline for sparc64

No OSs actually support CPUs older than this.

Diffstat:
Mlib/std/Target.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/std/Target.zig b/lib/std/Target.zig @@ -2077,6 +2077,7 @@ pub const Cpu = struct { // gcc/clang do not have a generic s390x model. .s390x => &s390x.cpu.arch8, .sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8. + .sparc64 => &sparc.cpu.ultrasparc, .x86 => &x86.cpu.pentium4, .x86_64 => switch (os.tag) { .driverkit, .maccatalyst => &x86.cpu.nehalem,