mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
remove outdated error message in std.fs
This commit is contained in:
parent
c097209792
commit
fa46750a84
@ -3069,7 +3069,6 @@ pub fn selfExePath(out_buffer: []u8) SelfExePathError![]u8 {
|
||||
const pathname_w = try os.windows.wToPrefixedFileW(null, image_path_name);
|
||||
return std.fs.cwd().realpathW(pathname_w.span(), out_buffer);
|
||||
},
|
||||
.wasi => @compileError("std.fs.selfExePath not supported for WASI. Use std.fs.selfExePathAlloc instead."),
|
||||
else => @compileError("std.fs.selfExePath not supported for this target"),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user