diff --git a/src/aro/target.zig b/src/aro/target.zig index cf04feab..0e289575 100644 --- a/src/aro/target.zig +++ b/src/aro/target.zig @@ -500,6 +500,7 @@ pub fn get32BitArchVariant(target: std.Target) ?std.Target { .wasm32, .renderscript32, .aarch64_32, + .spirv, .spirv32, .loongarch32, .dxil, @@ -591,6 +592,7 @@ pub fn get64BitArchVariant(target: std.Target) ?std.Target { .riscv32 => copy.cpu.arch = .riscv64, .sparc => copy.cpu.arch = .sparc64, .spir => copy.cpu.arch = .spir64, + .spirv => copy.cpu.arch = .spirv64, .spirv32 => copy.cpu.arch = .spirv64, .thumb => copy.cpu.arch = .aarch64, .thumbeb => copy.cpu.arch = .aarch64_be, @@ -659,6 +661,7 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 { .hsail64 => "hsail64", .spir => "spir", .spir64 => "spir64", + .spirv => "spirv", .spirv32 => "spirv32", .spirv64 => "spirv64", .kalimba => "kalimba", @@ -717,6 +720,8 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 { .driverkit => "driverkit", .shadermodel => "shadermodel", .liteos => "liteos", + .visionos => "xros", + .serenity => "serenity", .opencl, .glsl450, .vulkan,