Added a note to build.zig files that denotes what version of zig they have been tested with.
This commit is contained in:
parent
ee5a1c4e34
commit
8159b18ba8
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
const std = @import("std");
|
||||
const builtin = @import("builtin");
|
||||
|
||||
// This has been tested to work with zig master branch as of commit 87de821 or May 14 2023
|
||||
fn add_module(comptime module: []const u8, b: *std.Build, target: std.zig.CrossTarget, optimize: std.builtin.OptimizeMode) !*std.Build.Step {
|
||||
if (target.getOsTag() == .emscripten) {
|
||||
@panic("Emscripten building via Zig unsupported");
|
||||
|
|
|
|||
Loading…
Reference in a new issue