I'm exploring using a WASI binary committed to source control as a way to portably build Zig from source. The experiment is a success, however, I have an issue that the cache system doesn't work properly because WASI does not support an advisory file system locking mechanism. How can I propose to add this to the WASI specification?
https://github.com/ziglang/zig/issues/13589
https://github.com/ziglang/zig/blob/2823fcabd1974550b889a56e8ada0eb52f3d2080/src/Cache.zig#L859-L886
https://github.com/WebAssembly/wasi-filesystem/issues/2
The PR to add it to the wasi-filesystem proposal is here: https://github.com/WebAssembly/wasi-filesystem/pull/69
That said, it won't be immediately available in wasm engines, because new spec work is being done in the wit IDL, which replaces the old witx IDL, and WASI is currently still working on transitioning everything over to wit.
Last updated: Dec 23 2024 at 12:05 UTC