Stream: wasmtime

Topic: import functions


view this post on Zulip Kyrylo Volkov (Apr 11 2021 at 08:00):

Hi. In order to import functions, I write something like
instance = Instance(store, module, [a,b, c])
But is there a possibility to pass the dictionary and not the array in order to set mapping between WASM functions and mine?

view this post on Zulip Alex Crichton (Apr 11 2021 at 19:12):

@Kyrylo Volkov for that you'll want to use Linker and later Linker::instantiate for instantiation


Last updated: Nov 22 2024 at 16:03 UTC