diff options
| author | 2022-09-17 17:45:01 +0200 | |
|---|---|---|
| committer | 2022-12-06 23:16:11 +0100 | |
| commit | 5bdd18362aca84d1afb6c05a0f69613756ac87a9 (patch) | |
| tree | 6d003fd0d9cb3c3a8dd3ee5b66f88b464b97469c | |
| parent | readme: add a note about the maintenance status (diff) | |
| download | zig-sqlite-5bdd18362aca84d1afb6c05a0f69613756ac87a9.tar.gz zig-sqlite-5bdd18362aca84d1afb6c05a0f69613756ac87a9.tar.xz zig-sqlite-5bdd18362aca84d1afb6c05a0f69613756ac87a9.zip | |
build: don't use stage1
Diffstat (limited to '')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 0 insertions, 3 deletions
| @@ -221,7 +221,6 @@ pub fn build(b: *std.build.Builder) !void { | |||
| 221 | const cross_target = getTarget(test_target.target, bundled); | 221 | const cross_target = getTarget(test_target.target, bundled); |
| 222 | 222 | ||
| 223 | const tests = b.addTest("sqlite.zig"); | 223 | const tests = b.addTest("sqlite.zig"); |
| 224 | tests.use_stage1 = true; | ||
| 225 | 224 | ||
| 226 | if (bundled) { | 225 | if (bundled) { |
| 227 | const lib = b.addStaticLibrary("sqlite", null); | 226 | const lib = b.addStaticLibrary("sqlite", null); |
| @@ -276,7 +275,6 @@ pub fn build(b: *std.build.Builder) !void { | |||
| 276 | fuzz_lib.linkLibrary(lib); | 275 | fuzz_lib.linkLibrary(lib); |
| 277 | fuzz_lib.want_lto = true; | 276 | fuzz_lib.want_lto = true; |
| 278 | fuzz_lib.bundle_compiler_rt = true; | 277 | fuzz_lib.bundle_compiler_rt = true; |
| 279 | fuzz_lib.use_stage1 = true; | ||
| 280 | fuzz_lib.addPackagePath("sqlite", "sqlite.zig"); | 278 | fuzz_lib.addPackagePath("sqlite", "sqlite.zig"); |
| 281 | 279 | ||
| 282 | // Setup the output name | 280 | // Setup the output name |
| @@ -299,7 +297,6 @@ pub fn build(b: *std.build.Builder) !void { | |||
| 299 | 297 | ||
| 300 | // Compile a companion exe for debugging crashes | 298 | // Compile a companion exe for debugging crashes |
| 301 | const fuzz_debug_exe = b.addExecutable("fuzz-debug", "fuzz/main.zig"); | 299 | const fuzz_debug_exe = b.addExecutable("fuzz-debug", "fuzz/main.zig"); |
| 302 | fuzz_debug_exe.use_stage1 = true; | ||
| 303 | fuzz_debug_exe.addIncludePath("c"); | 300 | fuzz_debug_exe.addIncludePath("c"); |
| 304 | fuzz_debug_exe.setBuildMode(mode); | 301 | fuzz_debug_exe.setBuildMode(mode); |
| 305 | fuzz_debug_exe.setTarget(getTarget(target, true)); | 302 | fuzz_debug_exe.setTarget(getTarget(target, true)); |