From 7d4e8be0de7cee4ccbf3290cd7c6da85d679052c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 15 Dec 2024 11:56:43 +0100 Subject: [PATCH] std.Target: Remove special case for wasm in Abi.default(). It'll still pick .musl for os.tag == .wasi. --- lib/std/Target.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,