mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
std.Target: Sort Os tags in a hopefully more sensible way.
This commit is contained in:
parent
60bf1a6543
commit
7f7008b5b2
@ -17,53 +17,62 @@ pub const Os = struct {
|
||||
|
||||
pub const Tag = enum {
|
||||
freestanding,
|
||||
dragonfly,
|
||||
freebsd,
|
||||
fuchsia,
|
||||
ios,
|
||||
linux,
|
||||
ps3,
|
||||
macos,
|
||||
netbsd,
|
||||
openbsd,
|
||||
solaris,
|
||||
uefi,
|
||||
windows,
|
||||
zos,
|
||||
haiku,
|
||||
minix,
|
||||
rtems,
|
||||
aix,
|
||||
cuda,
|
||||
nvcl,
|
||||
amdhsa,
|
||||
ps4,
|
||||
ps5,
|
||||
elfiamcu,
|
||||
tvos,
|
||||
watchos,
|
||||
driverkit,
|
||||
visionos,
|
||||
mesa3d,
|
||||
contiki,
|
||||
amdpal,
|
||||
hermit,
|
||||
hurd,
|
||||
wasi,
|
||||
emscripten,
|
||||
shadermodel,
|
||||
liteos,
|
||||
serenity,
|
||||
opencl,
|
||||
glsl450,
|
||||
vulkan,
|
||||
plan9,
|
||||
illumos,
|
||||
other,
|
||||
|
||||
contiki,
|
||||
elfiamcu,
|
||||
fuchsia,
|
||||
hermit,
|
||||
|
||||
aix,
|
||||
haiku,
|
||||
hurd,
|
||||
linux,
|
||||
liteos,
|
||||
minix,
|
||||
plan9,
|
||||
rtems,
|
||||
serenity,
|
||||
zos,
|
||||
|
||||
dragonfly,
|
||||
freebsd,
|
||||
netbsd,
|
||||
openbsd,
|
||||
|
||||
driverkit,
|
||||
ios,
|
||||
macos,
|
||||
tvos,
|
||||
visionos,
|
||||
watchos,
|
||||
|
||||
illumos,
|
||||
solaris,
|
||||
|
||||
windows,
|
||||
uefi,
|
||||
|
||||
ps3,
|
||||
ps4,
|
||||
ps5,
|
||||
|
||||
emscripten,
|
||||
wasi,
|
||||
|
||||
amdhsa,
|
||||
amdpal,
|
||||
cuda,
|
||||
glsl450,
|
||||
mesa3d,
|
||||
nvcl,
|
||||
opencl,
|
||||
shadermodel,
|
||||
vulkan,
|
||||
|
||||
// LLVM tags deliberately omitted:
|
||||
// - kfreebsd
|
||||
// - darwin
|
||||
// - kfreebsd
|
||||
// - nacl
|
||||
|
||||
pub inline fn isDarwin(tag: Tag) bool {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user