Repository: RustPython/RustPython (language: rust)

Issue:
Attempting to run WASI example in readme
## Summary

The WASI example in the readme appears to be incomplete. Following the instructions produces a .wasm file, but running it does not work.

## Details

The build command works as expected and a .wasm is produced. However, running the wasmer command gives this error:

```
$ wasmer run --dir . target/wasm32-wasi/release/rustpython.wasm extra_tests/snippets/stdlib_time.py 
[ERROR rustpython_vm::vm::compile] Failed reading file 'extra_tests/snippets/stdlib_random.py': No such file or directory (os error 44)
```

I have confirmed that `stdlib_random.py` does exist. Backspacing part of the file name and hitting tab causes it to autocomplete, so it's definitely spelled correctly. The file permissions also appear correct, and using sudo has no effect.

I am building with cargo 1.77.2 (installed by rustup) on Fedora 39.


Discussion / hints:
Hi, wasmer behavior seems to be changed. I recently used this comment:
```shell
$ wasmer run --dir `pwd` -- target/wasm32-wasi/release/rustpython.wasm `pwd`/extra_tests/snippets/stdlib_random.py
```

Fix patch:
diff --git a/README.md b/README.md
index c4d1fc9a7d..4673f01f1f 100644
--- a/README.md
+++ b/README.md
@@ -96,7 +96,7 @@ cargo build --target wasm32-wasi --no-default-features --features freeze-stdlib,
 Run by wasmer
 
 ```bash
-wasmer run --dir . target/wasm32-wasi/release/rustpython.wasm extra_tests/snippets/stdlib_random.py
+wasmer run --dir `pwd` -- target/wasm32-wasi/release/rustpython.wasm `pwd`/extra_tests/snippets/stdlib_random.py
 ```
 
 Run by wapm


Test patch: