Fix compilation on other hosts
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user