Stream: cargo-component

Topic: build component with async fn


view this post on Zulip Ludea (Sep 19 2025 at 14:49):

Hi, I would like to try to create a component with async fn.
I know It's a p3 feature.
But since the release of rc, how to build a component without the wasm32-wasip3 target (not yet release)?
I have to wait his release?

view this post on Zulip Yosh Wuyts (Sep 19 2025 at 14:51):

@Joel Dice has a good example up here: https://github.com/dicej/hello-wasip3-http/blob/main/Makefile

Contribute to dicej/hello-wasip3-http development by creating an account on GitHub.

view this post on Zulip Yosh Wuyts (Sep 19 2025 at 14:52):

You'll need a custom Wasmtime build off of the man branch with the components feature enabled. Or wait until next Monday's Wasmtime release which will include that.

view this post on Zulip Ludea (Sep 19 2025 at 14:54):

Awesome, thanks!
Will start with my component today, and Monday update Wasmtime to try to run it

view this post on Zulip Yosh Wuyts (Sep 19 2025 at 19:06):

Sounds good! Let us know how it goes!


Last updated: Dec 06 2025 at 06:05 UTC