component-docs icon indicating copy to clipboard operation
component-docs copied to clipboard

Use native cargo `wasm32-wasip2` target rather than `cargo-component`

Open kate-goldenring opened this issue 6 months ago • 3 comments

Before the wasm32-wasip2 target was added to Rust, cargo-component did a lot of the heavy lifting to enable rust developers to create p2 components. Now, it is more advantageous to directly use Rust tooling. The docs should be updated to use cargo build --target wasm32-wasip2 plus manual use of wit-bindgen and wkg. This will also better familiarize users with the ecosystem and provide more impetus to get more functionality into the Rust ecosystem

kate-goldenring avatar May 02 '25 20:05 kate-goldenring