This fixes #35214. The public API exposed by std.process.getUserInfo() was missing the Io interface parameter to be propagated down to the underlying std.process.posixGetUserInfo() call.
The std.process.posixGetUserInfo() also had a bug where it was not passing the Io interface to file.reader(), this fixed that aswell.
Note: This is a draft PR for one reason, I have not built and tested with the changes, though trivial.
Would anyone be able to point me in the direction for running the build steps? I tried following the README.md, created build, ran cmake and ran into issues with it not finding zstd library (which I had). Would the correct steps be to first build zig like I attempted, then I would have the stage3 directory for which I could build stage4 and then run stage4/bin/zig build test-std -Dskip-release?
This fixes [#35214](https://codeberg.org/ziglang/zig/issues/35214#issue-4879925). The public API exposed by `std.process.getUserInfo()` was missing the `Io` interface parameter to be propagated down to the underlying `std.process.posixGetUserInfo()` call.
The `std.process.posixGetUserInfo()` also had a bug where it was not passing the `Io` interface to `file.reader()`, this fixed that aswell.
---
**Note**: This is a draft PR for one reason, I have not built and tested with the changes, though trivial.
Would anyone be able to point me in the direction for running the build steps? I tried following the `README.md`, created `build`, ran `cmake` and ran into issues with it not finding `zstd` library (which I had). Would the correct steps be to first build zig like I attempted, then I would have the `stage3` directory for which I could build stage4 and then run `stage4/bin/zig build test-std -Dskip-release`?