mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
std.zig.LibCDirs: fix wasi-libc support
This commit is contained in:
parent
ad2b175d45
commit
7dbd21bd5b
@ -168,7 +168,7 @@ pub fn detectFromBuilding(
|
||||
|
||||
const generic_name = libCGenericName(target);
|
||||
// Some architecture families are handled by the same set of headers.
|
||||
const arch_name = if (target.isMuslLibC())
|
||||
const arch_name = if (target.isMuslLibC() or target.isWasiLibC())
|
||||
std.zig.target.muslArchNameHeaders(target.cpu.arch)
|
||||
else if (target.isFreeBSDLibC())
|
||||
std.zig.target.freebsdArchNameHeaders(target.cpu.arch)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user