Fix compilation on other hosts

This commit is contained in:
Jakub Konka 2020-07-15 20:28:28 +02:00
parent 22362568cf
commit 08e7ac3028

View File

@ -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);
}