From 95d33f2eb8ee262ec75a6e0a63b9e6f89d6fad7c Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Mon, 28 Feb 2022 18:42:32 -0700 Subject: [PATCH] gpu-dawn: use binary releases for musl libc Signed-off-by: Stephen Gutekanst --- gpu-dawn/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu-dawn/build.zig b/gpu-dawn/build.zig index edbd87d4..feeb30fe 100644 --- a/gpu-dawn/build.zig +++ b/gpu-dawn/build.zig @@ -185,7 +185,7 @@ pub fn linkFromBinary(b: *Builder, step: *std.build.LibExeObjStep, options: Opti const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, step.target) catch unreachable).target; const binaries_available = switch (target.os.tag) { .windows => false, // TODO(build-system): add Windows binaries - .linux => target.cpu.arch.isX86() and target.abi.isGnu(), + .linux => target.cpu.arch.isX86() and (target.abi.isGnu() or target.abi == .musl), .macos => blk: { if (!target.cpu.arch.isX86() and !target.cpu.arch.isAARCH64()) break :blk false; if (target.abi != .gnu) break :blk false;