summaryrefslogtreecommitdiffhomepage
path: root/build.zig
diff options
context:
space:
mode:
authorGamer-Kold <[email protected]>2023-05-15 14:23:36 +0500
committerGitHub <[email protected]>2023-05-15 11:23:36 +0200
commit6b92d71ea1c4e3072b26f25e7b8bd1d1aa8e781f (patch)
treeba40790534915169712501af0a16809a7d386e35 /build.zig
parent26a3536958e9d4d641edbff0530c41625871b6be (diff)
downloadraylib-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 'build.zig')
-rw-r--r--build.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 042338a6..12c0513f 100644
--- a/build.zig
+++ b/build.zig
@@ -1,6 +1,7 @@
const std = @import("std");
const raylib = @import("src/build.zig");
-pub fn build(b: *std.build.Builder) void {
+// This has been tested to work with zig master branch as of commit 87de821 or May 14 2023
+pub fn build(b: *std.Build) void {
raylib.build(b);
}