-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Update zig build system to zig version 0.11.0 #3393
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
@purple4pur thanks for the review! |
Unfortunately, removing the top-level |
Yeah. Revert PR please. Latest raylib is up to date with latest zig. Feel free to find commit version which suites your zig version. You are sending patch to master branch while you were using raylib 4.5.0. |
@Not-Nik @star-tek-mb should this PR be reverted? |
@Not-Nik Ohh thanks for this infomation! @star-tek-mb Tested with master branch raylib and zig 0.11.0, Let me do more checks on both latest master branches and zig's package manager |
Ok. Thanks. I was mainly arguing with top level build.zig. I need it in my projects. Sorry for maybe my rude messages. Let me know if you need any help with examples. I will check on zig master later. |
@star-tek-mb nvm, your suggestion helps a lot! Also I tested with latest zig @Not-Nik @star-tek-mb I checked zig's package manager and tried the demo ziglang/zig#14265, top-level
So my ideas:
I've tried Option 1 before this PR, but still don't solve :( |
I strongly oppose updating Zig to a pre-release version. As for the |
OK. I then open a PR that just focuses on Much appreciated @Not-Nik ! |
Discard
build.zig
and usesrc/build.zig
only, bc by default these two output in different directories.build command: cd to
src
thenzig build
.Close #3386