WASM support for component model / WASIp2

Hi! I can’t find a clear overview on what features of WASM are supported in Fastly.

From the (Rust) example code I can see that it is using the wasm32-wasi target (which has been renamed to wasm32-wasip1 recently)

  • Is there (planned) support for the component model?
  • Is there (planned) support for the new wasm32-wasip2 target?

We do plan to support WASM components in the future, although there hasn’t been any timeline set for that. The same is true for wasm32-wasip2, although support for that may appear earlier as it’s a smaller set of changes.

We are planning to be ready for the mandatory change (in Rust) from wasm32-wasi to wasm32-wasip1 before January of 2025, so that our customers can continue using new Rust releases without interruption.

2 Likes

Hi! Are there updates here? Any insights on if/when WASM component support is landing would be very welcome. :folded_hands:

Hey @flyaruu – no updates that we can share. When we have something ready for people to hack on, we’ll announce it in this forum, our blog, and other relevant channels.