Zhangyx24 opened issue #4417:
The wat is :
The command is
wasmtime run test.watThe output is :
Caused by:
0: failed to instantiate "test.wasm"
1: unknown import:env::putshas not been defined
sunfishcode commented on issue #4417:
putsas a host function appears to be a wamr-specific feature. If you compile your program with wasi-sdk, it'll link in aputsfunction from wasi-libc, which will run in all WASI engines.
Zhangyx24 commented on issue #4417:
Thanks a lot!
Zhangyx24 closed issue #4417:
The wat is :
The command is
wasmtime run test.watThe output is :
Caused by:
0: failed to instantiate "test.wasm"
1: unknown import:env::putshas not been defined
Last updated: Dec 13 2025 at 21:03 UTC