zig/lib/std/os
Pat Tullmann 138d30bb47 wasi: fix wasm-wasi-musl constants
Zig's copy of the `SYMLINK_{NO,}FOLLOW` constants from wasi-musl was
wrong, as were the `IFIFO` and `IFSOCK` file type flags.  Fix these up,
and add comments pointing to exactly where they come from (as the
wasi-musl source has lots of unused, different definitions of these
constants).

Add tests for the Zig convention that WASM preopen 3 is the current
working directory.   This is true for WASM with or without libc.

Enable several fs and posix tests that are now passing (not necessarily
because of this change) on wasm targets.

Fixes #20890.
2025-02-09 09:08:11 +01:00
..
linux adjust runtime page size APIs 2025-02-06 14:23:23 -08:00
plan9 extract std.posix from std.os 2024-03-19 11:45:09 -07:00
uefi std.os.uefi: Drop 'Efi' prefix from type names 2025-02-09 02:30:32 +00:00
windows std.heap: remove HeapAllocator 2025-02-06 14:23:23 -08:00
emscripten.zig all: update to std.builtin.Type.Pointer.Size field renames 2025-01-16 12:46:29 +00:00
linux.zig std.os.linux.mmap: remove logic that does not belong here 2025-02-06 14:23:23 -08:00
plan9.zig runtime page size detection 2025-02-06 14:23:23 -08:00
uefi.zig std.os.uefi: Adjust casing of remaining enum fields 2025-02-09 02:23:53 +00:00
wasi.zig wasi: fix wasm-wasi-musl constants 2025-02-09 09:08:11 +01:00
windows.zig std.heap: remove HeapAllocator 2025-02-06 14:23:23 -08:00