Update zig build system to zig version 0.11.0 (#3393)

* update build.zig for zig 0.11.0

* fix build.zig in examples to install executable correctly

* discard build.zig, only use src/build.zig, to avoid annoying zig-out path problem

* update zig version note
This commit is contained in:
Purple4pur 2023-10-09 19:05:19 +08:00 committed by GitHub
parent cfffa74f96
commit 540ad99442
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 28 deletions

View file

@ -1,7 +0,0 @@
const std = @import("std");
const raylib = @import("src/build.zig");
// 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);
}