Update to latest zig 0.12.0dev while keeping 0.11.0 compatibility (#3715)
* update build.zig for latest zig 0.12.0dev while still allowing 0.11.0 * update examples/build.zig and add nicer message for type mismatch
This commit is contained in:
parent
a820c37ab2
commit
482722d881
3 changed files with 57 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
const std = @import("std");
|
||||
const raylib = @import("src/build.zig");
|
||||
|
||||
// This has been tested to work with zig 0.11.0
|
||||
// This has been tested to work with zig 0.11.0 and zig 0.12.0-dev.2075+f5978181e
|
||||
pub fn build(b: *std.Build) void {
|
||||
raylib.build(b);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue