authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-15 12:54:43 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-15 12:54:43 -08:00
log75a9745d9100b17a9443e6a0051cb140ffbcd0b1
tree4c569760bbafdbfe4251543e1c1abefde0de655d
parentb8df9f73154633022b3ebec429bbfbfdc4a11b93

add disable_llvm build param


1 files changed, 2 insertions(+), 0 deletions(-)

build.zig+2
...@@ -3,9 +3,11 @@ const std = @import("std");...@@ -3,9 +3,11 @@ const std = @import("std");
3pub fn build(b: *std.Build) void {3pub 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;
67
7 _ = target;8 _ = target;
8 _ = mode;9 _ = mode;
10 _ = disable_llvm;
911
10 // this doesnt need tests since the consumers of this library do have tests12 // 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");