diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-19 11:35:22 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-19 11:35:22 -0700 |
| commit | 01337e209366bf7eed9a8aca0b80be0e8c9c04f5 (patch) | |
| tree | 82d84ded03cf82eca3662acc1b16b100964937b4 /src/codegen.zig | |
| parent | 7157189143e83dedb29d25553d2841ff2576dc5c (diff) | |
| download | zig-01337e209366bf7eed9a8aca0b80be0e8c9c04f5.tar.gz zig-01337e209366bf7eed9a8aca0b80be0e8c9c04f5.zip | |
fix regression of flock being called on wasi targets
* common symbols are now public from std.c even if they live in
std.posix
* LOCK is now one of the common symbols since it is the same on 100% of
operating systems.
* flock is now void value on wasi and windows
* std.fs.Dir now uses flock being void as feature detection, avoiding
trying to call it on wasi and windows
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
