Skip to content

Commit 75a4a8b

Browse files
committed
Unbreak -Drelease
1 parent 296225e commit 75a4a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const std = @import("std");
33
pub fn build(b: *std.Build) void {
44
const target = b.standardTargetOptions(.{});
55
const with_benchmark: bool = b.option(bool, "with-benchmark", "Compile benchmark") orelse false;
6-
const optimize = if (with_benchmark) .ReleaseFast else b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseFast });
6+
const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseFast });
77
const version = std.SemanticVersion.parse("0.4.1") catch unreachable;
88

99
const lib = b.addLibrary(.{

0 commit comments

Comments
 (0)