aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-11-29 15:28:54 -0500
committerGitHub <noreply@github.com>2024-11-29 15:28:54 -0500
commita47aa9dd9d7f950427aacc360f1302e636234bc2 (patch)
treea3e4a4fcab9e49f6adb8a5cfdc719f51b5ea4fd4 /src/codegen/llvm.zig
parentc3821fe4ca8d98d07454fddf2bf25bfc8d7817f2 (diff)
parent78b8ce5095abf6516dc414b8cf487acedbd0ce99 (diff)
downloadzig-a47aa9dd9d7f950427aacc360f1302e636234bc2.tar.gz
zig-a47aa9dd9d7f950427aacc360f1302e636234bc2.zip
Merge pull request #22095 from alexrp/test-llvm-emit
Change `llvm_targets` tests to actually emit objects, and fix bugs found as a result
Diffstat (limited to 'src/codegen/llvm.zig')
-rw-r--r--src/codegen/llvm.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index 737aa51107..0a755e25a8 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -280,8 +280,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.cygnus => "cygnus",
.simulator => "simulator",
.macabi => "macabi",
- .ohos => "ohos",
- .ohoseabi => "ohoseabi",
+ .ohos, .ohoseabi => "ohos",
};
try llvm_triple.appendSlice(llvm_abi);