Stream: git-wasmtime

Topic: wasmtime / issue #4356 Is it possible to call another `ho...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2022 at 09:38):

EmisonLu opened issue #4356:

Is it possible for runtime to call another host function during the execution of a host function? Does wasmtime support this behavior?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2022 at 15:21):

alexcrichton closed issue #4356:

Is it possible for runtime to call another host function during the execution of a host function? Does wasmtime support this behavior?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2022 at 15:21):

alexcrichton commented on issue #4356:

Yes, host functions get access to a Caller<'_, T> which implements AsContextMut which can be used to call another function.


Last updated: Nov 22 2024 at 16:03 UTC