mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.zig.LibCDirs: fix wasi-libc support
This commit is contained in:
parent
ad2b175d45
commit
7dbd21bd5b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue