Uh oh!
There was an error while loading. Please reload this page.
fs.Dir: Give the option to stat a symbolic link - #20843
Conversation
alexrp
commented
Jul 28, 2024
Note that this will need Linux-specific |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
alexrp
commented
Jul 30, 2024
Just dropping in again to say that it has been merged. |
samy-00007
commented
Jul 30, 2024
I will make the necessary changes. |
Also removed redundancy (statLink and statLinkZ)
samy-00007
commented
Jul 30, 2024
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 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Ryan Liptak <squeek502@hotmail.com>
samy-00007
commented
Aug 2, 2024
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. |
samy-00007
commented
Aug 5, 2024
Is it good ? |
Uh oh!
There was an error while loading. Please reload this page.
Looks good to me. One possible variation on this would be to make |
alexrp
commented
Jan 5, 2026
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. |
Test cherry-picked and added in https://codeberg.org/ziglang/zig/pulls/31437 Thanks! |
This pull request adds
Dir.statLink(withZandWvariants) to stat symlink.It also improves the windows version of
Dir.statFile.