update for LLVM 18 new target data

New OSs:
* XROS
* Serenity
* Vulkan

Removed OSs:
* Ananas
* CloudABI
* Minix
* Contiki

New CPUs:
* spirv

The removed stuff is removed from LLVM but not Zig.
This commit is contained in:
Andrew Kelley
2024-04-25 15:41:11 -07:00
parent 70c85b1bf1
commit 243ae3a6cb
4 changed files with 57 additions and 27 deletions

View File

@@ -284,8 +284,6 @@ extern fn ZigLLVMWriteArchive(
pub const OSType = enum(c_int) {
UnknownOS,
Ananas,
CloudABI,
Darwin,
DragonFly,
FreeBSD,
@@ -302,7 +300,6 @@ pub const OSType = enum(c_int) {
Win32,
ZOS,
Haiku,
Minix,
RTEMS,
NaCl,
AIX,
@@ -315,8 +312,8 @@ pub const OSType = enum(c_int) {
TvOS,
WatchOS,
DriverKit,
XROS,
Mesa3D,
Contiki,
AMDPAL,
HermitCore,
Hurd,
@@ -324,6 +321,8 @@ pub const OSType = enum(c_int) {
Emscripten,
ShaderModel,
LiteOS,
Serenity,
Vulkan,
};
pub const ArchType = enum(c_int) {
@@ -378,6 +377,7 @@ pub const ArchType = enum(c_int) {
hsail64,
spir,
spir64,
spirv,
spirv32,
spirv64,
kalimba,