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,