Commit 08e7ac3028

Jakub Konka <kubkon@jakubkonka.com>
2020-07-15 20:28:28
Fix compilation on other hosts
1 parent 2236256
Changed files (1)
lib
std
lib/std/zig/system.zig
@@ -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);
     }