mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
std.Target: Fix isGnuLibC() to handle hurd too.
This commit is contained in:
parent
0def4e0db0
commit
fc93ab7182
@ -144,7 +144,7 @@ pub const Os = struct {
|
||||
}
|
||||
|
||||
pub inline fn isGnuLibC(tag: Os.Tag, abi: Abi) bool {
|
||||
return tag == .linux and abi.isGnu();
|
||||
return (tag == .hurd or tag == .linux) and abi.isGnu();
|
||||
}
|
||||
|
||||
pub fn defaultVersionRange(tag: Tag, arch: Cpu.Arch) Os {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user