From e5ad8772406bd4588b68294dfd8151ea32c9f2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 27 Jul 2024 21:59:35 +0200 Subject: [PATCH] WIP: std.Target: Add more architecture tags. --- lib/std/Target.zig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index 41e754d2fb50..84dad7e91d71 100644 --- a/lib/std/Target.zig +++ b/lib/std/Target.zig @@ -979,26 +979,38 @@ pub const Cpu = struct { }; pub const Arch = enum { + alpha, arm, armeb, aarch64, aarch64_be, aarch64_32, arc, + arc64, avr, bpfel, bpfeb, csky, dxil, hexagon, + hppa, + hppa64, + kvx, loongarch32, loongarch64, m68k, + microblaze, + microblazeel + microblaze64, + microblaze64el, mips, mipsel, mips64, mips64el, + moxie, + moxieel, msp430, + or1k, powerpc, powerpcle, powerpc64, @@ -1010,12 +1022,15 @@ pub const Cpu = struct { sparc64, sparcel, s390x, + sh, + sheb, thumb, thumbeb, x86, x86_64, xcore, xtensa, + xtensaeb, nvptx, nvptx64, spir,