gpu-dawn: utilize linux-aarch64 binary releases

This commit is contained in:
Ali Chraghi 2022-12-27 16:35:19 +03:30 committed by Stephen Gutekanst
parent c0a5bc655c
commit f14536f5f0

View file

@ -241,7 +241,7 @@ pub fn Sdk(comptime deps: anytype) type {
const target = step.target_info.target;
const binaries_available = switch (target.os.tag) {
.windows => target.abi.isGnu(),
.linux => target.cpu.arch.isX86() and (target.abi.isGnu() or target.abi.isMusl()),
.linux => (target.cpu.arch.isX86() or target.cpu.arch.isAARCH64()) and (target.abi.isGnu() or target.abi.isMusl()),
.macos => blk: {
if (!target.cpu.arch.isX86() and !target.cpu.arch.isAARCH64()) break :blk false;