mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 04:24:33 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue