Stream: git-wasmtime

Topic: wasmtime / issue #3577 wasmtime tutorial could't work ("e...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 01 2021 at 06:56):

stdpain opened issue #3577:

I tried to follow the tutorial, but ran into an error trying to read the input file:

$ wasmtime run --dir=. --dir=`pwd` demox.wasm test.txt test2.txt
error opening input test.txt: Operation not permitted

I found a similar issue #88, but not sure if it's the same problem

$ emcc --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 2.0.31 (4fcbf0239ccca29771f9044c990b0d34fac6e2e7)
$ wasmtime --version
wasmtime 0.30.0

view this post on Zulip Wasmtime GitHub notifications bot (Dec 01 2021 at 08:33):

stdpain edited issue #3577:

I tried to follow the tutorial, but ran into an error trying to read the input file:

$ wasmtime run --dir=. --dir=`pwd` demox.wasm test.txt test2.txt
error opening input test.txt: Operation not permitted

I found a similar issue #88, but not sure if it's the same problem

$ emcc --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 2.0.31 (4fcbf0239ccca29771f9044c990b0d34fac6e2e7)
$ wasmtime --version
wasmtime 0.30.0

Retry wasi-sdk instead of emsdk, it works

view this post on Zulip Wasmtime GitHub notifications bot (Dec 01 2021 at 08:33):

stdpain closed issue #3577:

I tried to follow the tutorial, but ran into an error trying to read the input file:

$ wasmtime run --dir=. --dir=`pwd` demox.wasm test.txt test2.txt
error opening input test.txt: Operation not permitted

I found a similar issue #88, but not sure if it's the same problem

$ emcc --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 2.0.31 (4fcbf0239ccca29771f9044c990b0d34fac6e2e7)
$ wasmtime --version
wasmtime 0.30.0

Retry wasi-sdk instead of emsdk, it works


Last updated: Nov 22 2024 at 16:03 UTC