Files
zig/lib/std
Andrew Kelley d5312d53a0 WASI: remove absolute path emulation from std lib
Instead of checking for absolute paths and current working directories
in various file system operations, there is one simple solution: allow
overriding `std.fs.cwd` on WASI.

os.realpath is back to causing a compile error when used on WASI. This
caused a compile error in the Sema handling of `@src()`. The compiler
should never call realpath, so the commit that made this change is
reverted (95ab942184). If this breaks
debug info, a different strategy is needed to solve it other than using
realpath.

I also removed the preopens code and replaced it with something much
simpler. There is no longer any global state in the standard library.

Additionally-
 * os.openat no longer does an unnecessary fstat on WASI when O.WRONLY
   is not provided.
 * os.chdir is back to causing a compile error on WASI.
2022-12-06 12:15:04 -07:00
..
2022-12-06 12:15:04 -07:00
2022-11-18 19:22:42 +00:00
2022-12-05 19:25:10 -05:00
2022-10-30 01:09:31 -07:00
2022-11-30 15:42:59 -07:00
2022-10-06 21:22:20 +03:00
2022-11-04 00:09:27 +03:30
2022-12-06 12:15:04 -07:00
2022-11-13 17:36:56 +02:00
2022-08-23 21:11:02 -07:00
2022-01-07 00:06:06 -05:00
2022-11-29 23:46:02 -07:00
2022-09-11 23:18:43 -04:00
2022-11-07 02:46:19 +01:00
2022-11-04 00:09:27 +03:30
2022-11-23 19:17:58 +01:00
2022-11-04 00:09:27 +03:30
2022-04-15 17:01:01 -05:00
2022-11-18 19:22:42 +00:00