Skip to content

Commit fa46750

Browse files
xdBronchVexu
authored andcommitted
remove outdated error message in std.fs
1 parent c097209 commit fa46750

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/std/fs.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3069,7 +3069,6 @@ pub fn selfExePath(out_buffer: []u8) SelfExePathError![]u8 {
30693069
const pathname_w = try os.windows.wToPrefixedFileW(null, image_path_name);
30703070
return std.fs.cwd().realpathW(pathname_w.span(), out_buffer);
30713071
},
3072-
.wasi => @compileError("std.fs.selfExePath not supported for WASI. Use std.fs.selfExePathAlloc instead."),
30733072
else => @compileError("std.fs.selfExePath not supported for this target"),
30743073
}
30753074
}

0 commit comments

Comments
 (0)