diff options
| author | 2021-05-19 22:25:34 +0200 | |
|---|---|---|
| committer | 2021-05-19 22:25:34 +0200 | |
| commit | a8bd7c3d6007f5c796d34be418758f718246615e (patch) | |
| tree | 03646250288ffb21921ac7013cf0efd469ba88ad /build.zig | |
| parent | Merge branch 'fix-tests' (diff) | |
| download | zig-sqlite-a8bd7c3d6007f5c796d34be418758f718246615e.tar.gz zig-sqlite-a8bd7c3d6007f5c796d34be418758f718246615e.tar.xz zig-sqlite-a8bd7c3d6007f5c796d34be418758f718246615e.zip | |
all: update for latest zig
Diffstat (limited to '')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,4 +1,3 @@ | |||
| 1 | const builtin = @import("builtin"); | ||
| 2 | const std = @import("std"); | 1 | const std = @import("std"); |
| 3 | 2 | ||
| 4 | var sqlite3: ?*std.build.LibExeObjStep = null; | 3 | var sqlite3: ?*std.build.LibExeObjStep = null; |
| @@ -40,7 +39,7 @@ fn getTarget(original_target: std.zig.CrossTarget, bundled: bool) std.zig.CrossT | |||
| 40 | 39 | ||
| 41 | const TestTarget = struct { | 40 | const TestTarget = struct { |
| 42 | target: std.zig.CrossTarget = @as(std.zig.CrossTarget, .{}), | 41 | target: std.zig.CrossTarget = @as(std.zig.CrossTarget, .{}), |
| 43 | mode: builtin.Mode = .Debug, | 42 | mode: std.builtin.Mode = .Debug, |
| 44 | single_threaded: bool = false, | 43 | single_threaded: bool = false, |
| 45 | bundled: bool, | 44 | bundled: bool, |
| 46 | }; | 45 | }; |