Skip to content

Commit

Permalink
remove outdated error message in std.fs
Browse files Browse the repository at this point in the history
  • Loading branch information
xdBronch authored and Vexu committed Sep 8, 2023
1 parent c097209 commit fa46750
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/std/fs.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
}
Expand Down

0 comments on commit fa46750

Please sign in to comment.