Commit dd366d316d

Jakub Konka <kubkon@jakubkonka.com>
2020-07-15 20:33:21
Fix more compilation errors on other hosts
1 parent 08e7ac3
Changed files (1)
lib
std
lib/std/zig/system.zig
@@ -820,6 +820,9 @@ pub const NativeTargetInfo = struct {
                             &link_buf,
                         ) catch |err| switch (err) {
                             error.NameTooLong => unreachable,
+                            error.InvalidUtf8 => unreachable, // Windows only
+                            error.BadPathName => unreachable, // Windows only
+                            error.UnsupportedReparsePointType => unreachable, // Windows only
 
                             error.AccessDenied,
                             error.FileNotFound,