Is there a preview 2 target? Would want to slowly convert our wasm from preview 1 to preview 2
Cwasi4wasm said:
Is there a preview 2 target? Would want to slowly convert our wasm from preview 1 to preview 2
I should maybe specify a "rust" target
Not yet, but it's been proposed: https://github.com/rust-lang/compiler-team/issues/694. Meanwhile, you can use cargo-component, which will automatically adapt your Preview 1 module to Preview 2 and allow you to use Preview 2 APIs directly, as desired.
Awesome thank you very much I will take a look at cargo-component!
Cwasi4wasm has marked this topic as resolved.
Last updated: Nov 22 2024 at 17:03 UTC