summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2021-08-09 22:48:41 +0200
committerGravatar Vincent Rischmann2021-08-18 22:37:33 +0200
commitb035bda011f4c51628e7f9cbf72dfbe9110441ae (patch)
treee40ea8eb1907645e095a8a90aa36b2b5c9e4f588 /build.zig
parentMerge pull request #36 from nektro/master (diff)
downloadzig-sqlite-b035bda011f4c51628e7f9cbf72dfbe9110441ae.tar.gz
zig-sqlite-b035bda011f4c51628e7f9cbf72dfbe9110441ae.tar.xz
zig-sqlite-b035bda011f4c51628e7f9cbf72dfbe9110441ae.zip
build: handle macos in the test targets
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 21f09ad..08a1ea9 100644
--- a/build.zig
+++ b/build.zig
@@ -122,6 +122,14 @@ const all_test_targets = switch (std.Target.current.cpu.arch) {
122 .bundled = true, 122 .bundled = true,
123 }, 123 },
124 }, 124 },
125 .macos => [_]TestTarget{
126 TestTarget{
127 .target = .{
128 .cpu_arch = .x86_64,
129 },
130 .bundled = true,
131 },
132 },
125 else => [_]TestTarget{ 133 else => [_]TestTarget{
126 TestTarget{ 134 TestTarget{
127 .target = .{}, 135 .target = .{},