From f16836fc379e842f14805fbc20b133d7777eb859 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Fri, 11 Feb 2022 18:18:56 -0700 Subject: [PATCH] gpu-dawn: binary releases are only for macos-x86_64 for now Signed-off-by: Stephen Gutekanst --- gpu-dawn/build.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpu-dawn/build.zig b/gpu-dawn/build.zig index 880f9a3c..671f73f2 100644 --- a/gpu-dawn/build.zig +++ b/gpu-dawn/build.zig @@ -180,13 +180,13 @@ pub fn linkFromBinary(b: *Builder, step: *std.build.LibExeObjStep, options: Opti const triple = blk: { if (target.cpu.arch.isX86()) switch (target.os.tag) { - .windows => break :blk "windows-x86_64", - .linux => break :blk "linux-x86_64", + .windows => return linkFromSource(b, step, options), // break :blk "windows-x86_64", + .linux => return linkFromSource(b, step, options), // break :blk "linux-x86_64", .macos => break :blk "macos-x86_64", else => return linkFromSource(b, step, options), }; if (target.cpu.arch.isAARCH64()) switch (target.os.tag) { - .macos => break :blk "macos-aarch64", + .macos => return linkFromSource(b, step, options), // break :blk "macos-aarch64", else => return linkFromSource(b, step, options), }; return linkFromSource(b, step, options);