diff options
| author | 2023-11-29 22:14:17 +0100 | |
|---|---|---|
| committer | 2023-11-29 22:14:19 +0100 | |
| commit | 0723e08ab69078d161b2a8839cf0bbccf835530d (patch) | |
| tree | f49db5085bb7b6125c6e83e032b0608f01ec546f | |
| parent | Merge pull request #144 from vrischmann/update-latest-zig (diff) | |
| download | zig-sqlite-0723e08ab69078d161b2a8839cf0bbccf835530d.tar.gz zig-sqlite-0723e08ab69078d161b2a8839cf0bbccf835530d.tar.xz zig-sqlite-0723e08ab69078d161b2a8839cf0bbccf835530d.zip | |
fix build on non x86_64 architectures
Closes #145
| -rw-r--r-- | build.zig | 14 |
1 files changed, 12 insertions, 2 deletions
| @@ -97,9 +97,19 @@ const ci_targets = switch (builtin.target.cpu.arch) { | |||
| 97 | // .bundled = true, | 97 | // .bundled = true, |
| 98 | // }, | 98 | // }, |
| 99 | }, | 99 | }, |
| 100 | else => unreachable, | 100 | else => [_]TestTarget{ |
| 101 | TestTarget{ | ||
| 102 | .target = .{}, | ||
| 103 | .bundled = false, | ||
| 104 | }, | ||
| 105 | }, | ||
| 106 | }, | ||
| 107 | else => [_]TestTarget{ | ||
| 108 | TestTarget{ | ||
| 109 | .target = .{}, | ||
| 110 | .bundled = false, | ||
| 111 | }, | ||
| 101 | }, | 112 | }, |
| 102 | else => unreachable, | ||
| 103 | }; | 113 | }; |
| 104 | 114 | ||
| 105 | const all_test_targets = switch (builtin.target.cpu.arch) { | 115 | const all_test_targets = switch (builtin.target.cpu.arch) { |