From 6b92d71ea1c4e3072b26f25e7b8bd1d1aa8e781f Mon Sep 17 00:00:00 2001 From: Gamer-Kold <84700933+Gamer-Kold@users.noreply.github.com> Date: Mon, 15 May 2023 14:23:36 +0500 Subject: 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 --- build.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build.zig') 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); } -- cgit v1.2.3