We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 296225e commit 75a4a8bCopy full SHA for 75a4a8b
build.zig
@@ -3,7 +3,7 @@ const std = @import("std");
3
pub fn build(b: *std.Build) void {
4
const target = b.standardTargetOptions(.{});
5
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 });
+ const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseFast });
7
const version = std.SemanticVersion.parse("0.4.1") catch unreachable;
8
9
const lib = b.addLibrary(.{
0 commit comments