From 032984eabf5a35af386a3d0e542df7686da339c1 Mon Sep 17 00:00:00 2001 From: Loris Cro Date: Wed, 24 Jul 2024 17:38:12 +0200 Subject: [PATCH] add 0.14.0-dev compatibility --- build.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 457b2d1..450c6a6 100644 --- a/build.zig +++ b/build.zig @@ -1,5 +1,6 @@ const std = @import("std"); -const FailStep = @import("FailStep.zig"); +const builtin = @import("builtin"); +const FailStep = if (builtin.zig_version.minor == 13) @import("FailStep.zig") else std.Build.Step.Fail; pub fn build(b: *std.Build) !void { const target = b.standardTargetOptions(.{});