-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fs.Dir: Give the option to stat a symbolic link #20843
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
Conversation
|
Note that this will need Linux-specific |
Just dropping in again to say that it has been merged. |
|
I will make the necessary changes. |
Also removed redundancy (statLink and statLinkZ)
|
It should be good. |
|
From what i am seeing, the test fails with wasm because in |
That's not the relevant code for the test failure (that's only used for bootstrapping a Zig compiler). My guess is that it's EDIT: Confirmed both guesses:
and without (inclusion of This is very likely to be either a EDIT#2: Unable to find a reproduction, filed a follow-up issue: #20890 |
Co-authored-by: Ryan Liptak <squeek502@hotmail.com>
|
Is it possible to redo the CI tests ? They did not fail because of my code |
|
Rebase the branch onto the latest master branch and it should get fixed. |
|
Is it good ? |
|
Looks good to me. One possible variation on this would be to make |
|
Closing because we have no CI on GitHub anymore and this has no CI results, and this will also definitely need rebasing. Please reopen this on Codeberg: https://codeberg.org/ziglang/zig/pulls |
|
I believe this use case was addressed in #25592 with the addition of (what is now called) The test case would be good to have, though. |
This pull request adds
Dir.statLink(withZandWvariants) to stat symlink.It also improves the windows version of
Dir.statFile.