diff options
| author | Gamer-Kold <[email protected]> | 2023-05-15 14:23:36 +0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-15 11:23:36 +0200 |
| commit | 6b92d71ea1c4e3072b26f25e7b8bd1d1aa8e781f (patch) | |
| tree | ba40790534915169712501af0a16809a7d386e35 /examples/build.zig | |
| parent | 26a3536958e9d4d641edbff0530c41625871b6be (diff) | |
| download | raylib-6b92d71ea1c4e3072b26f25e7b8bd1d1aa8e781f.tar.gz raylib-6b92d71ea1c4e3072b26f25e7b8bd1d1aa8e781f.zip | |
Reverted commits that deprecated the build.zig files, and added a note to all of them stating version of zig they were using (#3060)
* Revert "Fixed broken build.zig files. Now works with latest stable compiler (as of commit, latest is 0.10.1) (#3045)"
This reverts commit de748dfffefeba1ba9bcf0c90c538d32c9cb2020 so that zig
build script works with master branch of zig.
* Added a note to build.zig files that denotes what version of zig they have been tested with.
* Standardised the note in the build.zig files
Diffstat (limited to 'examples/build.zig')
| -rw-r--r-- | examples/build.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/build.zig b/examples/build.zig index f94a3b4b..6e13ab3d 100644 --- a/examples/build.zig +++ b/examples/build.zig @@ -1,6 +1,7 @@ const std = @import("std"); const builtin = @import("builtin"); +// This has been tested to work with zig master branch as of commit 87de821 or May 14 2023 fn add_module(comptime module: []const u8, b: *std.Build, target: std.zig.CrossTarget, optimize: std.builtin.OptimizeMode) !*std.Build.Step { if (target.getOsTag() == .emscripten) { @panic("Emscripten building via Zig unsupported"); |
