engineerd / wasm-to-oci

Use OCI registries to distribute Wasm modules
Apache License 2.0
251 stars 31 forks source link

wasmtime cannot run the wasm file in testdata #37

Open summer-boythink opened 1 year ago

summer-boythink commented 1 year ago

When I run hello.wasm using wasmtime, it reports the following error

Error: failed to run main module `hello.wasm`

Caused by:
    0: failed to instantiate "hello.wasm"
    1: command export '__rustc_debug_gdb_scripts_section__' is not a function

However, when I use the wasmtime official example ,which is the one compiled with rust. He will run successfully

I don't know if this problem is due to testdata, wasmtime version update, or my use