Fix more compilation errors on other hosts

master
Jakub Konka 2020-07-15 20:33:21 +02:00
parent 08e7ac3028
commit dd366d316d
1 changed files with 3 additions and 0 deletions

View File

@ -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,