Max-Meldrum opened issue #4541:
Hi!
It seems to me that many internal functions such as
call_async
orwrap_async
have 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
/Sync
natively in the API. It may be possible with unsafe wrappers that document that it's not actually used in aSend
/Sync
context 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
/Sync
natively in the API. It may be possible with unsafe wrappers that document that it's not actually used in aSend
/Sync
context 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_async
orwrap_async
have 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: Nov 22 2024 at 16:03 UTC