aboutsummaryrefslogtreecommitdiff
path: root/src/target.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-04-25 22:52:15 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-08 19:37:28 -0700
commitd34fae26d5bb556debf6b0a1d570ae936331a74b (patch)
tree6ffd356e09537093b381f0c130fcc66b1fd46fb9 /src/target.zig
parent109ec729247443200c2ba614f6acb0b991e44b4d (diff)
downloadzig-d34fae26d5bb556debf6b0a1d570ae936331a74b.tar.gz
zig-d34fae26d5bb556debf6b0a1d570ae936331a74b.zip
LLVM 18 std lib updates and fixes
* some manual fixes to generated CPU features code. In the future it would be nice to make the script do those automatically. * add to various target OS switches. Some of the values I was unsure of and added TODO panics, for example in the case of spirv CPU arch.
Diffstat (limited to 'src/target.zig')
-rw-r--r--src/target.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target.zig b/src/target.zig
index 3ad36deab2..6e77a965cd 100644
--- a/src/target.zig
+++ b/src/target.zig
@@ -159,6 +159,7 @@ pub fn hasLlvmSupport(target: std.Target, ofmt: std.Target.ObjectFormat) bool {
.hsail64,
.spir,
.spir64,
+ .spirv,
.spirv32,
.spirv64,
.kalimba,