summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2021-12-06 19:55:57 +0100
committerGravatar Vincent Rischmann2021-12-06 19:55:57 +0100
commit9a72efe594a1ae3ecb5b5eaf02ff1fc472154240 (patch)
treefe26f202f05878e2ddb1340c3d481fda830a3544
parentMerge branch 'fix-latest-zig' (diff)
downloadzig-sqlite-9a72efe594a1ae3ecb5b5eaf02ff1fc472154240.tar.gz
zig-sqlite-9a72efe594a1ae3ecb5b5eaf02ff1fc472154240.tar.xz
zig-sqlite-9a72efe594a1ae3ecb5b5eaf02ff1fc472154240.zip
build: fix for latest zig
-rw-r--r--build.zig8
1 files changed, 0 insertions, 8 deletions
diff --git a/build.zig b/build.zig
index 1bedf31..66bd314 100644
--- a/build.zig
+++ b/build.zig
@@ -150,10 +150,6 @@ pub fn build(b: *std.build.Builder) void {
150 const in_memory = b.option(bool, "in_memory", "Should the tests run with sqlite in memory (default true)") orelse true; 150 const in_memory = b.option(bool, "in_memory", "Should the tests run with sqlite in memory (default true)") orelse true;
151 const dbfile = b.option([]const u8, "dbfile", "Always use this database file instead of a temporary one"); 151 const dbfile = b.option([]const u8, "dbfile", "Always use this database file instead of a temporary one");
152 const use_bundled = b.option(bool, "use_bundled", "Use the bundled sqlite3 source instead of linking the system library (default false)"); 152 const use_bundled = b.option(bool, "use_bundled", "Use the bundled sqlite3 source instead of linking the system library (default false)");
153 const enable_wine = b.option(bool, "enable_wine", "Enable wine for running tests (default false)") orelse false;
154 const enable_qemu = b.option(bool, "enable_qemu", "Enable qemu for running tests (default false)") orelse false;
155 const enable_wasmtime = b.option(bool, "enable_wasmtime", "Enable wasmtime for running tests (default false)") orelse false;
156 const enable_darling = b.option(bool, "enable_darling", "Enable darling for running tests (default false)") orelse false;
157 153
158 const target = b.standardTargetOptions(.{}); 154 const target = b.standardTargetOptions(.{});
159 155
@@ -198,10 +194,6 @@ pub fn build(b: *std.build.Builder) void {
198 tests.setTarget(cross_target); 194 tests.setTarget(cross_target);
199 tests.addIncludeDir("c"); 195 tests.addIncludeDir("c");
200 linkSqlite(tests); 196 linkSqlite(tests);
201 tests.enable_wine = enable_wine;
202 tests.enable_qemu = enable_qemu;
203 tests.enable_wasmtime = enable_wasmtime;
204 tests.enable_darling = enable_darling;
205 197
206 const tests_options = b.addOptions(); 198 const tests_options = b.addOptions();
207 tests.addOptions("build_options", tests_options); 199 tests.addOptions("build_options", tests_options);