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?
correct yeah, the adapter is only needed when the guest is compiled for wasm32-wasip1
(this is unrelated to the wasmtime version fwiw, 27 is nothing new in this regard)
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