llvm: set sub-arch for spirv 1.6

This commit is contained in:
Alex Rønne Petersen 2025-11-10 12:54:04 +01:00
parent c58687225b
commit cde865e06a
No known key found for this signature in database

View File

@ -166,6 +166,7 @@ pub fn targetTriple(allocator: Allocator, target: *const std.Target) ![]const u8
.{ .spe, "spe" },
}),
.spirv32, .spirv64 => subArchName(target, .spirv, .{
.{ .v1_6, "1.6" },
.{ .v1_5, "1.5" },
.{ .v1_4, "1.4" },
.{ .v1_3, "1.3" },