php-wasm icon indicating copy to clipboard operation
php-wasm copied to clipboard

Can we run the wasm with wasmer?

Open NitroCao opened this issue 2 years ago • 0 comments

I tried to run the wasm php-shell.wasm with wasmer (https://github.com/wasmerio/wasmer) but it returned with the following error:

$ wasmer run dist/php-shell.wasm
thread '<unnamed>' panicked at 'index out of bounds: the len is 2097152 but the index is 2097152', /github/home/.cache/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/cranelift-codegen-0.86.1/src/machinst/lower.rs:461:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Could you give a brief introduction on how to run it with wasmer? Thanks in advance.

NitroCao avatar Dec 20 '22 10:12 NitroCao