Skip to content

Commit

Permalink
WIP: std.Target: Add more architecture tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jul 27, 2024
1 parent 66b7127 commit 2d51a28
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion lib/std/Target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -1007,15 +1019,19 @@ pub const Cpu = struct {
riscv32,
riscv64,
sparc,
sparc64,
sparcel,
sparc64,
sparc64el,
s390x,
sh,
sheb,
thumb,
thumbeb,
x86,
x86_64,
xcore,
xtensa,
xtensaeb,
nvptx,
nvptx64,
spir,
Expand Down

0 comments on commit 2d51a28

Please sign in to comment.