alexcrichton commented on issue #6878:
Thanks! Could you expand a bit more on the rationale for this? Why would users of the CLI want to control async-vs-not? Or is this instead intended for testing the async implementations on the CLI?
eduardomourar commented on issue #6878:
Thanks! Could you expand a bit more on the rationale for this? Why would users of the CLI want to control async-vs-not? Or is this instead intended for testing the async implementations on the CLI?
Just added more details to the PR body itself.
pchickey commented on issue #6878:
This isn't the correct approach - instead,
wasmtime-wasi::preview2::in_tokio
should be madepub
, and and thewasmtime-wasi-http
crate should use that to implement a sync bindgen trait by wrapping the async bindgen trait.futures::executor isnt the right executor to use with wasmtime-wasi, it will fall over if not used with tokio.
Last updated: Dec 23 2024 at 12:05 UTC