Stream: general

Topic: Does wasmtime 27 require --adapt for wasm32-wasip2?


view this post on Zulip adam (Dec 17 2024 at 20:41):

My understanding is the adapters are for wasi p1 runtimes when building wasi p2 components and this wouldn't apply for cargo build --target wasm32-wasip2 and wasmtime thatnewnew.wasm with wasmtime 27. Is that correct?

view this post on Zulip Alex Crichton (Dec 17 2024 at 20:43):

correct yeah, the adapter is only needed when the guest is compiled for wasm32-wasip1

view this post on Zulip Alex Crichton (Dec 17 2024 at 20:43):

(this is unrelated to the wasmtime version fwiw, 27 is nothing new in this regard)

view this post on Zulip adam (Dec 17 2024 at 20:45):

Ah yeah, I just figured at some point since the beginning of the year wasmtime natively supported wasi p2.

Thanks


Last updated: Dec 23 2024 at 12:05 UTC