aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2024-05-20 13:43:09 +0300
committerAndrew Kelley <andrew@ziglang.org>2024-05-20 09:25:52 -0400
commit8aae0d87b5808e3674f2d37c8de7b10e305de9da (patch)
treecbfb4662936bcc7cb2ba75bb36813c8658b6fb27 /src/codegen
parent9691da71cdb90191abcd4b3cd2d586ab227a6da6 (diff)
downloadzig-8aae0d87b5808e3674f2d37c8de7b10e305de9da.tar.gz
zig-8aae0d87b5808e3674f2d37c8de7b10e305de9da.zip
Target: add OpenHarmonyOS ABI
Closes #20009
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/llvm.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index 5b42a701ff..291e76f084 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -212,6 +212,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.callable => "callable",
.mesh => "mesh",
.amplification => "amplification",
+ .ohos => "ohos",
};
try llvm_triple.appendSlice(llvm_abi);