gpu-dawn: update macOS binary check from -gnu to -none ABI

Reflecting the breaking change in latest Zig master.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-05-31 09:59:50 -07:00
parent ee7eca280c
commit 85ce4b22bd

View file

@ -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.