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#L95And I want to know how to run module linking in Wasmtime CLI, is there any example or document?
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#L95And I want to know how to run module linking in Wasmtime CLI, is there any example or document?
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.
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#L95And I want to know how to run module linking in Wasmtime CLI, is there any example or document?
Last updated: Nov 22 2024 at 16:03 UTC