aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-10-05 15:13:37 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-10-05 15:13:37 +0200
commit84e192c88b2a970b249c7a7480e14717535b6096 (patch)
treedb460c21cc6016e7d3ae78feff9e86874b69631c /src/codegen
parent043b1adb8dff184deaf9e145e6045b36b9bf733b (diff)
downloadzig-84e192c88b2a970b249c7a7480e14717535b6096.tar.gz
zig-84e192c88b2a970b249c7a7480e14717535b6096.zip
std.Target: Introduce Abi.ohoseabi to distinguish the soft float case.
For the same reason as #21504.
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 927cedbb96..b91b13d95f 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -185,6 +185,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.simulator => "simulator",
.macabi => "macabi",
.ohos => "ohos",
+ .ohoseabi => "ohoseabi",
};
try llvm_triple.appendSlice(llvm_abi);