spirv: make genericName match target name.

Changes the 'generic name' of the target to spirv, from spir-v.
This commit is contained in:
Robin Voetter 2022-11-25 14:58:37 +01:00
parent c6fbe0d5d8
commit 12ff362654
No known key found for this signature in database
GPG Key ID: E755662F227CB468

View File

@ -1276,7 +1276,7 @@ pub const Target = struct {
.x86, .x86_64 => "x86",
.nvptx, .nvptx64 => "nvptx",
.wasm32, .wasm64 => "wasm",
.spirv32, .spirv64 => "spir-v",
.spirv32, .spirv64 => "spirv",
else => @tagName(arch),
};
}