You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was curious to see if one someone from the community is interested in adding support for applications that have been compiled against WASI preview 2 and the component model.
For some background context, I'm really interested in embedding a library compiled to WebAssembly into an iOS app. My library has been compiled to WASI via Rust's wasm32-wasi-preview2 target and I'm looking to see how many different devices I can currently embed that library into.
Is there a limitation preventing this project from supporting WASI preview 2 and/or the component model? Are there alternative runtimes available with wasip2 support that you're aware of?
Thank you!
The text was updated successfully, but these errors were encountered:
Currently, we support generating overlay (bindgen in Rust terminology) code from WIT file for both host runtime side and guest Wasm program side, and the generated code allows lifting / lowering Canonical ABI values.
However, we currently don't implement the following features at this moment, so WasmKit might not satisfy your use case right now, but I'm definitely interested in fully supporting CM in the future. It's just a human resource limitation.
Component binary parser
Component instantiation linker
WASI Preview 2
An alternative solution for you I have in mind is jco, which allows lowering a component into core modules and JS glue code. I think you can use the tool with JavaScriptCore engine for now, but I've never tried it.
Hey there! Really cool project.
I was curious to see if one someone from the community is interested in adding support for applications that have been compiled against WASI preview 2 and the component model.
For some background context, I'm really interested in embedding a library compiled to WebAssembly into an iOS app. My library has been compiled to WASI via Rust's
wasm32-wasi-preview2
target and I'm looking to see how many different devices I can currently embed that library into.Is there a limitation preventing this project from supporting WASI preview 2 and/or the component model? Are there alternative runtimes available with wasip2 support that you're aware of?
Thank you!
The text was updated successfully, but these errors were encountered: