erxiaozhou opened issue #4511:
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
Steps to Reproduce
Run
wasmtime hw_inco.wat
Expected Results
Hello World!
Actual Results
Error: failed to run main module `xxx/hw_inco.wat` Caused by: 0: failed to instantiate "xxx/hw_inco.wat" 1: command export 'one_i32_global' is not a function
Versions and Environment
Wasmtime version or commit: commit ID :35b750ab9a9c4e70e80c4a795e9f51d9f83ee6fc
Operating system: Ubuntu 20.04.1
Architecture: AMD Ryzen Threadripper 3960X
Extra Info
I have executed the same test case on
wasmer
andWAVM
and the outputs are as expected.
erxiaozhou labeled issue #4511:
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
Steps to Reproduce
Run
wasmtime hw_inco.wat
Expected Results
Hello World!
Actual Results
Error: failed to run main module `xxx/hw_inco.wat` Caused by: 0: failed to instantiate "xxx/hw_inco.wat" 1: command export 'one_i32_global' is not a function
Versions and Environment
Wasmtime version or commit: commit ID :35b750ab9a9c4e70e80c4a795e9f51d9f83ee6fc
Operating system: Ubuntu 20.04.1
Architecture: AMD Ryzen Threadripper 3960X
Extra Info
I have executed the same test case on
wasmer
andWAVM
and the outputs are as expected.
peterhuene commented on issue #4511:
By default,
wasmtime
does not allow unknown exports (such asone_i32_global
) from command modules.To run this with module with
wasmtime
, use the--allow-unknown-exports
flag:wasmtime --allow-unknown-exports hw_inco.wat
As this is by design with Wasmtime, I'm going to close this issue for now.
Thanks for reporting it to us!
peterhuene closed issue #4511:
Thanks for filing a bug report! Please fill out the TODOs below.
Note: if you want to report a security issue, please read our security policy!
Test Case
Steps to Reproduce
Run
wasmtime hw_inco.wat
Expected Results
Hello World!
Actual Results
Error: failed to run main module `xxx/hw_inco.wat` Caused by: 0: failed to instantiate "xxx/hw_inco.wat" 1: command export 'one_i32_global' is not a function
Versions and Environment
Wasmtime version or commit: commit ID :35b750ab9a9c4e70e80c4a795e9f51d9f83ee6fc
Operating system: Ubuntu 20.04.1
Architecture: AMD Ryzen Threadripper 3960X
Extra Info
I have executed the same test case on
wasmer
andWAVM
and the outputs are as expected.
Last updated: Nov 22 2024 at 16:03 UTC