mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 06:43:07 +00:00
This commit updates the WASI imports to use `wasi_snapshot_preview1` instead of the old `wasi_unstable`. There are some minor ABI differences between the two, however, the main motivator for using the latest "stable" snapshot (aka preview1) is that, at least in Wasmtime, there has been a lot of improvement work put into preview1 and unfortunately I might add, the improvements were not (in full) backported to `wasi_unstable` snapshot. Also, this commit removes the optional bound on the pointer to `environ_get` syscall.