std.Target: Remove special case for wasm in Abi.default().

It'll still pick .musl for os.tag == .wasi.
This commit is contained in:
Alex Rønne Petersen 2024-12-15 11:56:43 +01:00
parent af89bb05d3
commit 7d4e8be0de
No known key found for this signature in database

View File

@ -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,