mirror of
https://github.com/ziglang/zig.git
synced 2025-12-15 02:33:07 +00:00
std.Target: Remove special case for wasm in Abi.default().
It'll still pick .musl for os.tag == .wasi.
This commit is contained in:
parent
af89bb05d3
commit
7d4e8be0de
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user