-
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
Fix WASI rename issue: #2297 #2397
Conversation
Good fix! I'll wait for @MarkMcCaskey review as he has more insight on the WASI internals :) |
Spend some time to figure how to add unit test for WASI fs. |
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.
Thanks for the fix! Just a small tweak on the fix itself and a bit more of a process for updating WASI tests, happy to help out with the generation part of the WASI tests, just ping me!
This reverts commit 50be2ed.
Can you update the wasi-tests subtree to latest master (with your fix added)? |
6035e0a8f Merge pull request wasmerio#1 from chenyukang/add-path-rename-tests 6c42d0308 add more info in output 178691a41 add path_rename testcase git-subtree-dir: tests/wasi-wast git-subtree-split: 6035e0a8f9f6fa668d7618ab03efae9d34da820c
bors r+ |
Description
Fix issue #2297.
The old code push full path to the parent directory, if we run wasmer as below:
The
out_path
become to :./source/hello/source/hello/hello.o
, it will trigger an I/O error.close #2297