mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
Fix compilation on other hosts
This commit is contained in:
parent
22362568cf
commit
08e7ac3028
@ -552,6 +552,9 @@ pub const NativeTargetInfo = struct {
|
||||
error.SystemResources => return error.SystemResources,
|
||||
error.NotDir => return error.GnuLibCVersionUnavailable,
|
||||
error.Unexpected => return error.GnuLibCVersionUnavailable,
|
||||
error.InvalidUtf8 => unreachable, // Windows only
|
||||
error.BadPathName => unreachable, // Windows only
|
||||
error.UnsupportedReparsePointType => unreachable, // Windows only
|
||||
};
|
||||
return glibcVerFromLinkName(link_name);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user