-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount current directory to /home
and Set CWD to /home
when running WASI
#4730
Conversation
Note: this would be a (small) breaking behaviour change. It shouldn't have a big effect, but it might break users that rely on the path in some logic. Are we okay with that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, I saw that we went into a different framework for testing that wasix-fyi, and I think this has some tradeoffs.
That means, that we should have two steps:
- Build (https://github.com/wasmerio/wasmer/blob/main/tests/wasi-fyi/build.sh)
- Test (in the similar fashion that wasi-fyi, https://github.com/wasmerio/wasmer/blob/main/tests/wasi-fyi/wasm-test.sh) -> Please see how the mapped dirs (via
$input_base.dir
), args and so on are provided in a framework-like fashion). We should use the same strategy here
Resolves #4725
Resolves #4724
Resolves #4753