| ... | @@ -3,9 +3,11 @@ const std = @import("std"); | ... | @@ -3,9 +3,11 @@ const std = @import("std"); |
| 3 | pub fn build(b: *std.Build) void { | 3 | pub fn build(b: *std.Build) void { |
| 4 | const target = b.standardTargetOptions(.{}); | 4 | const target = b.standardTargetOptions(.{}); |
| 5 | const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug; | 5 | const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug; |
| | 6 | const disable_llvm = b.option(bool, "disable_llvm", "use the non-llvm zig codegen") orelse false; |
| 6 | | 7 | |
| 7 | _ = target; | 8 | _ = target; |
| 8 | _ = mode; | 9 | _ = mode; |
| | 10 | _ = disable_llvm; |
| 9 | | 11 | |
| 10 | // this doesnt need tests since the consumers of this library do have tests | 12 | // this doesnt need tests since the consumers of this library do have tests |
| 11 | const test_step = b.step("test", "dummy test step to pass CI checks"); | 13 | const test_step = b.step("test", "dummy test step to pass CI checks"); |