diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 8 |
1 files changed, 0 insertions, 8 deletions
| @@ -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); |