aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs.zig
diff options
context:
space:
mode:
authorxdBronch <51252236+xdBronch@users.noreply.github.com>2023-09-07 16:25:02 -0400
committerVeikka Tuominen <git@vexu.eu>2023-09-08 21:47:44 +0300
commitfa46750a841c3e91f4445e794fc2d96088b159e7 (patch)
treec11ec588fe7bb402f66014a914b19664d2390120 /lib/std/fs.zig
parentc09720979209befda761920d8f21557d78da5028 (diff)
downloadzig-fa46750a841c3e91f4445e794fc2d96088b159e7.tar.gz
zig-fa46750a841c3e91f4445e794fc2d96088b159e7.zip
remove outdated error message in std.fs
Diffstat (limited to 'lib/std/fs.zig')
-rw-r--r--lib/std/fs.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/fs.zig b/lib/std/fs.zig
index 4a516e600d..2429243dda 100644
--- a/lib/std/fs.zig
+++ b/lib/std/fs.zig
@@ -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"),
}
}