Target: add OpenHarmonyOS ABI

Closes #20009
This commit is contained in:
Veikka Tuominen
2024-05-20 13:43:09 +03:00
committed by Andrew Kelley
parent 9691da71cd
commit 8aae0d87b5
4 changed files with 9 additions and 3 deletions

View File

@@ -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);