From dd366d316d0b3555864145494b28fdb6e090a3f2 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Wed, 15 Jul 2020 20:33:21 +0200 Subject: [PATCH] Fix more compilation errors on other hosts --- lib/std/zig/system.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/std/zig/system.zig b/lib/std/zig/system.zig index 6949388120..8e4f92e5ee 100644 --- a/lib/std/zig/system.zig +++ b/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,