Added a note to build.zig files that denotes what version of zig they have been tested with.

This commit is contained in:
Talha Qamar 2023-05-14 05:36:53 +05:00
commit 8159b18ba8

View file

@ -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");