Max-Meldrum opened issue #4541:
Hi!
It seems to me that many internal functions such as
call_asyncorwrap_asynchave explicit requirements onSend + Sync. Is there any way of running wasmtime with a non-multithreaded runtime, or is it mainly supposed to integrate well with tokio?Cheers
alexcrichton commented on issue #4541:
Currently, no, there's no support for futures without
Send/Syncnatively in the API. It may be possible with unsafe wrappers that document that it's not actually used in aSend/Synccontext but short of that Wasmtime isn't well-built for this use case unfortunately.
Max-Meldrum commented on issue #4541:
Currently, no, there's no support for futures without
Send/Syncnatively in the API. It may be possible with unsafe wrappers that document that it's not actually used in aSend/Synccontext but short of that Wasmtime isn't well-built for this use case unfortunately.Thanks for the great answer.
Max-Meldrum closed issue #4541:
Hi!
It seems to me that many internal functions such as
call_asyncorwrap_asynchave explicit requirements onSend + Sync. Is there any way of running wasmtime with a non-multithreaded runtime, or is it mainly supposed to integrate well with tokio?Cheers
Last updated: Dec 06 2025 at 06:05 UTC