From 0723e08ab69078d161b2a8839cf0bbccf835530d Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Wed, 29 Nov 2023 22:14:17 +0100 Subject: fix build on non x86_64 architectures Closes #145 --- build.zig | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index 3b78513..8033831 100644 --- a/build.zig +++ b/build.zig @@ -97,9 +97,19 @@ const ci_targets = switch (builtin.target.cpu.arch) { // .bundled = true, // }, }, - else => unreachable, + else => [_]TestTarget{ + TestTarget{ + .target = .{}, + .bundled = false, + }, + }, + }, + else => [_]TestTarget{ + TestTarget{ + .target = .{}, + .bundled = false, + }, }, - else => unreachable, }; const all_test_targets = switch (builtin.target.cpu.arch) { -- cgit v1.2.3