Stream: git-wasmtime

Topic: wasmtime / issue #3898 how to run module A that should im...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 08 2022 at 09:39):

wuhuizuo opened issue #3898:

there are code example for module linking in Wasmtime-go:
https://github.com/bytecodealliance/wasmtime-go/blob/1b44fcb61fe2a7619b8c14908009794ee6115bf7/linker_test.go#L95

And I want to know how to run module linking in Wasmtime CLI, is there any example or document?

view this post on Zulip Wasmtime GitHub notifications bot (Mar 08 2022 at 09:39):

wuhuizuo edited issue #3898:

It is the example for module linking in Wasmtime-go:
https://github.com/bytecodealliance/wasmtime-go/blob/1b44fcb61fe2a7619b8c14908009794ee6115bf7/linker_test.go#L95

And I want to know how to run module linking in Wasmtime CLI, is there any example or document?

view this post on Zulip Wasmtime GitHub notifications bot (Mar 08 2022 at 15:24):

alexcrichton commented on issue #3898:

The wasmtime run command has a --preload option which can be used for this, but it's worth saying that the linking story between modules is still very young and there probably aren't that many real world modules which "simply work with --preload" today.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 19 2022 at 06:41):

wuhuizuo closed issue #3898:

It is the example for module linking in Wasmtime-go:
https://github.com/bytecodealliance/wasmtime-go/blob/1b44fcb61fe2a7619b8c14908009794ee6115bf7/linker_test.go#L95

And I want to know how to run module linking in Wasmtime CLI, is there any example or document?


Last updated: Dec 23 2024 at 12:05 UTC