Heya, just wanted to highlight I've opened an issue on the wasi
crate to update the published bindings to preview 2. I believe now that Preview 2 is launched, we should be able to do this? Mostly sharing it here to ask whether there are any other blockers / things we need to do to unblock this?
Oh, I didn't realize we also have a #wit-bindgen channel. Maybe I should have opened that there instead.
Sounds great to me. One thing to consider: wit-bindgen
will generate a custom section for the component type with a name derived from the world the bindings were generated from. If an application developer happens to use the same world name in their application and also link with the new wasi
crate, wasmld
will try to combine the custom sections, generating output that wit-component
can't understand. We ran into this while updating wasi-libc
, hence https://github.com/bytecodealliance/wit-bindgen/issues/788 and https://github.com/bytecodealliance/wit-bindgen/pull/805
Last updated: Dec 23 2024 at 13:07 UTC