| ... | @@ -17,53 +17,62 @@ pub const Os = struct { | ... | @@ -17,53 +17,62 @@ pub const Os = struct { |
| 17 | | 17 | |
| 18 | pub const Tag = enum { | 18 | pub const Tag = enum { |
| 19 | freestanding, | 19 | freestanding, |
| 20 | dragonfly, | 20 | other, |
| 21 | freebsd, | 21 | |
| | 22 | contiki, |
| | 23 | elfiamcu, |
| 22 | fuchsia, | 24 | fuchsia, |
| 23 | ios, | 25 | hermit, |
| | 26 | |
| | 27 | aix, |
| | 28 | haiku, |
| | 29 | hurd, |
| 24 | linux, | 30 | linux, |
| 25 | ps3, | 31 | liteos, |
| 26 | macos, | 32 | minix, |
| | 33 | plan9, |
| | 34 | rtems, |
| | 35 | serenity, |
| | 36 | zos, |
| | 37 | |
| | 38 | dragonfly, |
| | 39 | freebsd, |
| 27 | netbsd, | 40 | netbsd, |
| 28 | openbsd, | 41 | openbsd, |
| | 42 | |
| | 43 | driverkit, |
| | 44 | ios, |
| | 45 | macos, |
| | 46 | tvos, |
| | 47 | visionos, |
| | 48 | watchos, |
| | 49 | |
| | 50 | illumos, |
| 29 | solaris, | 51 | solaris, |
| 30 | uefi, | 52 | |
| 31 | windows, | 53 | windows, |
| 32 | zos, | 54 | uefi, |
| 33 | haiku, | 55 | |
| 34 | minix, | 56 | ps3, |
| 35 | rtems, | | |
| 36 | aix, | | |
| 37 | cuda, | | |
| 38 | nvcl, | | |
| 39 | amdhsa, | | |
| 40 | ps4, | 57 | ps4, |
| 41 | ps5, | 58 | ps5, |
| 42 | elfiamcu, | 59 | |
| 43 | tvos, | | |
| 44 | watchos, | | |
| 45 | driverkit, | | |
| 46 | visionos, | | |
| 47 | mesa3d, | | |
| 48 | contiki, | | |
| 49 | amdpal, | | |
| 50 | hermit, | | |
| 51 | hurd, | | |
| 52 | wasi, | | |
| 53 | emscripten, | 60 | emscripten, |
| 54 | shadermodel, | 61 | wasi, |
| 55 | liteos, | 62 | |
| 56 | serenity, | 63 | amdhsa, |
| 57 | opencl, | 64 | amdpal, |
| | 65 | cuda, |
| 58 | glsl450, | 66 | glsl450, |
| | 67 | mesa3d, |
| | 68 | nvcl, |
| | 69 | opencl, |
| | 70 | shadermodel, |
| 59 | vulkan, | 71 | vulkan, |
| 60 | plan9, | | |
| 61 | illumos, | | |
| 62 | other, | | |
| 63 | | 72 | |
| 64 | // LLVM tags deliberately omitted: | 73 | // LLVM tags deliberately omitted: |
| 65 | // - kfreebsd | | |
| 66 | // - darwin | 74 | // - darwin |
| | 75 | // - kfreebsd |
| 67 | // - nacl | 76 | // - nacl |
| 68 | | 77 | |
| 69 | pub inline fn isDarwin(tag: Tag) bool { | 78 | pub inline fn isDarwin(tag: Tag) bool { |