Skip to content

std.os: Fix std.os.chdir for WASI #13646

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

Merged
merged 1 commit into from
Nov 26, 2022
Merged

std.os: Fix std.os.chdir for WASI #13646

merged 1 commit into from
Nov 26, 2022

Conversation

topolarity
Copy link
Contributor

Test coverage was lacking for chdir() on WASI, allowing this to regress.

This change makes os.chdir() compile again, and improves the test logic to use our standard CWD support for WASI.

Resolves #13644. Thanks to @codefromthecrypt for the bug report 🙂

Test coverage was lacking for chdir() on WASI, allowing this to
regress.

This change makes os.chdir() compile again, and improves the test
logic to use our standard CWD support for WASI.
@codefromthecrypt
Copy link
Contributor

deleted last comment. this works fine with the lib from your commit. thanks!

@Vexu Vexu merged commit a0af3c7 into ziglang:master Nov 26, 2022
@topolarity topolarity deleted the fix-13644 branch November 26, 2022 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wasi: container 'std.fs' has no member called 'resolve'
3 participants