From 85ce4b22bd5395b33312526f0d6710a762c3d183 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Tue, 31 May 2022 09:59:50 -0700 Subject: [PATCH] gpu-dawn: update macOS binary check from -gnu to -none ABI Reflecting the breaking change in latest Zig master. Signed-off-by: Stephen Gutekanst --- gpu-dawn/build.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/gpu-dawn/build.zig b/gpu-dawn/build.zig index 7425652e..f3ee1473 100644 --- a/gpu-dawn/build.zig +++ b/gpu-dawn/build.zig @@ -194,7 +194,6 @@ pub fn linkFromBinary(b: *Builder, step: *std.build.LibExeObjStep, options: Opti .linux => target.cpu.arch.isX86() and (target.abi.isGnu() or target.abi.isMusl()), .macos => blk: { if (!target.cpu.arch.isX86() and !target.cpu.arch.isAARCH64()) break :blk false; - if (!target.abi.isGnu()) break :blk false; // If min. target macOS version is lesser than the min version we have available, then // our binary is incompatible with the target.