Stream: wasi

Topic: wasi-tests


view this post on Zulip Mohamed Abdelfatah (Jul 05 2022 at 18:10):

Hi everyone, I am trying to run an individual bin in wasmtime/crates/test-programs/wasi-tests/src/bin manually without using the build scripts, however, apparently each test require a scratch directory as a parameter.

For example when I try to run path_open_create_existing.wasm with wasmtime I get an error:
usage: path_open_create_existing.wasm <scratch directory>
I tried to pass a random directory but I got :
failed to find scratch dir

can someone tell me what exactly is a scratch directory and how to pass it manually?

view this post on Zulip Mohamed Abdelfatah (Jul 05 2022 at 18:33):

Ok, never mind I forgot to pass the --dir flag.


Last updated: Nov 22 2024 at 16:03 UTC