diff options
| author | 2021-08-09 22:48:41 +0200 | |
|---|---|---|
| committer | 2021-08-18 22:37:33 +0200 | |
| commit | b035bda011f4c51628e7f9cbf72dfbe9110441ae (patch) | |
| tree | e40ea8eb1907645e095a8a90aa36b2b5c9e4f588 /build.zig | |
| parent | Merge pull request #36 from nektro/master (diff) | |
| download | zig-sqlite-b035bda011f4c51628e7f9cbf72dfbe9110441ae.tar.gz zig-sqlite-b035bda011f4c51628e7f9cbf72dfbe9110441ae.tar.xz zig-sqlite-b035bda011f4c51628e7f9cbf72dfbe9110441ae.zip | |
build: handle macos in the test targets
Diffstat (limited to '')
| -rw-r--r-- | build.zig | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -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 = .{}, |