Add shared library build option for build.zig and update to zig 0.12.0-dev.2139 (#3727)
* update build.zig to 0.12.0-dev.2139 and add shared lib option * add no-sanitize workarounds
This commit is contained in:
parent
9d628d1d49
commit
b7141d556e
2 changed files with 43 additions and 32 deletions
|
|
@ -2,6 +2,6 @@ const std = @import("std");
|
|||
const raylib = @import("src/build.zig");
|
||||
|
||||
// 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);
|
||||
pub fn build(b: *std.Build) !void {
|
||||
try raylib.build(b);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue