Stream: wasmtime

Topic: Is there a way to add preview2 to linker without using async


view this post on Zulip Mossaka (Joe) (Nov 28 2023 at 23:34):

I am calling wasmtime_wasi::preview2::command::add_to_linker(&mut linker)?; but it appears to require async support to wasmtime Engine. Is there a way to not require async?

view this post on Zulip Alex Crichton (Nov 28 2023 at 23:59):

Yes, that's at wasmtime_wasi::preview2::command::sync::add_to_linker

view this post on Zulip Alex Crichton (Nov 28 2023 at 23:59):

this function

view this post on Zulip Mossaka (Joe) (Nov 30 2023 at 02:14):

Follow up: would be great to document this function requires "async" feature in wasmtime Engine.


Last updated: Nov 22 2024 at 16:03 UTC