diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2023-08-31 14:05:43 -0700 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2023-08-31 14:07:15 -0700 |
| commit | f46008c1d8bce5dd8d1d0155fc3bd1c865870c79 (patch) | |
| tree | 1a41a302fe607ac237ba08ba3e847d434c7fa6d7 /src/codegen/spirv.zig | |
| parent | f4c9e19bc3213c2bc7e03d7b06d7129882f39f6c (diff) | |
| download | zig-f46008c1d8bce5dd8d1d0155fc3bd1c865870c79.tar.gz zig-f46008c1d8bce5dd8d1d0155fc3bd1c865870c79.zip | |
Fix `Dir.statFile` for WASI when linking libc
`statFile` now only uses `os.fstatatWasi` when not linking libc, matching the pattern used throughout other `Dir` functions. This fixes the compilation error: `error: struct 'c.wasi.Stat' has no member named 'fromFilestat'` (which the added test would have failed with)
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions
