aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Target.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-12-15 11:56:43 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2024-12-15 11:57:19 +0100
commit7d4e8be0de7cee4ccbf3290cd7c6da85d679052c (patch)
treef1223e9650d8e2083862b6d8bce82e4487c4c1bd /lib/std/Target.zig
parentaf89bb05d392b34a9ac257d166df1c794542f2e8 (diff)
downloadzig-7d4e8be0de7cee4ccbf3290cd7c6da85d679052c.tar.gz
zig-7d4e8be0de7cee4ccbf3290cd7c6da85d679052c.zip
std.Target: Remove special case for wasm in Abi.default().
It'll still pick .musl for os.tag == .wasi.
Diffstat (limited to 'lib/std/Target.zig')
-rw-r--r--lib/std/Target.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Target.zig b/lib/std/Target.zig
index 29306e3729..476d7a6f8d 100644
--- a/lib/std/Target.zig
+++ b/lib/std/Target.zig
@@ -815,7 +815,7 @@ pub const Abi = enum {
// - vertex
pub fn default(arch: Cpu.Arch, os: Os) Abi {
- return if (arch.isWasm()) .musl else switch (os.tag) {
+ return switch (os.tag) {
.freestanding, .other => switch (arch) {
// Soft float is usually a sane default for freestanding.
.arm,