Merge pull request #21605 from alexrp/ohos-stuff

`std.Target`: Introduce `Abi.ohoseabi` to distinguish the soft float case.
This commit is contained in:
Alex Rønne Petersen
2024-10-06 16:26:24 +02:00
committed by GitHub
6 changed files with 35 additions and 7 deletions

View File

@@ -255,6 +255,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);