authorgravatar for 51252236+xdBronch@users.noreply.github.comxdBronch <51252236+xdBronch@users.noreply.github.com> 2023-09-07 16:25:02-04:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-09-08 21:47:44+03:00
logfa46750a841c3e91f4445e794fc2d96088b159e7
treec11ec588fe7bb402f66014a914b19664d2390120
parentc09720979209befda761920d8f21557d78da5028

remove outdated error message in std.fs


1 files changed, 0 insertions(+), 1 deletions(-)

lib/std/fs.zig-1
...@@ -3069,7 +3069,6 @@ pub fn selfExePath(out_buffer: []u8) SelfExePathError![]u8 {...@@ -3069,7 +3069,6 @@ pub fn selfExePath(out_buffer: []u8) SelfExePathError![]u8 {
3069 const pathname_w = try os.windows.wToPrefixedFileW(null, image_path_name);3069 const pathname_w = try os.windows.wToPrefixedFileW(null, image_path_name);
3070 return std.fs.cwd().realpathW(pathname_w.span(), out_buffer);3070 return std.fs.cwd().realpathW(pathname_w.span(), out_buffer);
3071 },3071 },
3072 .wasi => @compileError("std.fs.selfExePath not supported for WASI. Use std.fs.selfExePathAlloc instead."),
3073 else => @compileError("std.fs.selfExePath not supported for this target"),3072 else => @compileError("std.fs.selfExePath not supported for this target"),
3074 }3073 }
3075}3074}