Skip to content

Commit e5be5aa

Browse files
committed
use idiomatic option naming convention
1 parent e7151c5 commit e5be5aa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.zig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ pub fn build(b: *std.Build) !void {
99
const version = std.SemanticVersion{ .major = 4, .minor = 21, .patch = 0 };
1010

1111
// Custom options
12-
const use_z = b.option(bool, "use_z", "Use system zlib") orelse true;
13-
const build_nyx = b.option(bool, "build_nyx", "Build Nyx mode on Linux") orelse true;
14-
const enable_wafl = b.option(bool, "enable_wafl", "Enable WAFL mode on WASI") orelse false;
15-
const build_coresight = b.option(bool, "build_coresight", "Build CoreSight mode on ARM64 Linux") orelse true;
16-
const build_unicorn_aarch64 = b.option(bool, "build_unicorn_aarch64", "Build Unicorn mode on ARM64") orelse true;
17-
const enable_lto = b.option(bool, "enable_lto", "Enable LTO mode") orelse if (target.result.isDarwin()) false else true;
12+
const use_z = b.option(bool, "use-z", "Use system zlib") orelse true;
13+
const build_nyx = b.option(bool, "build-nyx", "Build Nyx mode on Linux") orelse true;
14+
const enable_wafl = b.option(bool, "enable-wafl", "Enable WAFL mode on WASI") orelse false;
15+
const build_coresight = b.option(bool, "build-coresight", "Build CoreSight mode on ARM64 Linux") orelse true;
16+
const build_unicorn_aarch64 = b.option(bool, "build-unicorn-aarch64", "Build Unicorn mode on ARM64") orelse true;
17+
const enable_lto = b.option(bool, "enable-lto", "Enable LTO mode") orelse if (target.result.isDarwin()) false else true;
1818

1919
// Dependencies
2020
const AFLplusplus_dep = b.dependency("AFLplusplus", .{});

0 commit comments

Comments
 (0)