-
Notifications
You must be signed in to change notification settings - Fork 104
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
update to zig 0.14.0-dev.2952+8fa47bb90 #139
base: main
Are you sure you want to change the base?
Conversation
Relevant changes - [remove @Fence()][#21585] - `tv_` prefix removed from `linux.timespec` in [std.c reorganization][2] - `linux.timerfd_create` now accepts clockid_t enum in [std.c reorganization][3] - `linux.clockid_t` is now a non-exhaustive enum in [std.c reorganization][4] [#21585]: ziglang/zig#21585 [2]: ziglang/zig@e8c4e79#diff-37593602824d84b26d4345c606faf7be68c398f3bd74016afdaa6ba5dc6acaafL6224-L6233 [3]: ziglang/zig@e8c4e79#diff-37593602824d84b26d4345c606faf7be68c398f3bd74016afdaa6ba5dc6acaafL1965-R1974 [4]: ziglang/zig@e8c4e79#diff-37593602824d84b26d4345c606faf7be68c398f3bd74016afdaa6ba5dc6acaafL4032-R4056
I still get an error here, I can try to see if I'm able to fix it:
|
Actually, updating from Zig |
Yeah I updated it to latest master, unfortunately that made it incompatible with earlier versions. If you want to use an earlier version of Zig you can pin to the earlier commit. While I'm here, relevant upstream changes:
|
Just to be aware, this doesn't work on MacOS since the kqueue backend hasn't been changed. There is also a smaller issue that most of the If it helps, I have already patched libxev in my fork to make it work with Zig 0.14.x even on MacOS. I haven't really made a pull request yet since Zig 0.14 hasn't been tagged yet |
I might pull in your changes if that's all right. And I hope your pull request to fix the darwin namespace get's merged, otherwise libxev might have to copy paste the darwin definitions. My philosophy for this pull request is more "put it out there so other's can find it". I figure mitchell can ignore it until then 😄 |
I also did a major refactor of the
build.zig
, let me know if you don't want those changes in this pull request 😅Also, I've only tested this on linux, so I have no idea if the other backends need updating, I just made sure
zig build
andzig build test
worked.Links to relevant changes upstream (not including
std.Build
):tv_
prefix removed fromlinux.timespec
in std.c reorganizationlinux.timerfd_create
now accepts clockid_t enum in std.c reorganizationlinux.clockid_t
is now a non-exhaustive enum in std.c reorganization