summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 678e368..e4678be 100644
--- a/build.zig
+++ b/build.zig
@@ -1,4 +1,5 @@
1const std = @import("std"); 1const std = @import("std");
2const builtin = @import("builtin");
2 3
3var sqlite3: ?*std.build.LibExeObjStep = null; 4var sqlite3: ?*std.build.LibExeObjStep = null;
4 5
@@ -44,8 +45,8 @@ const TestTarget = struct {
44 bundled: bool, 45 bundled: bool,
45}; 46};
46 47
47const all_test_targets = switch (std.Target.current.cpu.arch) { 48const all_test_targets = switch (builtin.target.cpu.arch) {
48 .x86_64 => switch (std.Target.current.os.tag) { 49 .x86_64 => switch (builtin.target.os.tag) {
49 .linux => [_]TestTarget{ 50 .linux => [_]TestTarget{
50 TestTarget{ 51 TestTarget{
51 .target = .{}, 52 .target = .{},