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 5c974c4 commit 2362349Copy full SHA for 2362349
build.zig
@@ -122,8 +122,11 @@ pub fn build(b: *std.Build) void {
122
.name = @tagName(bug),
123
.root_source_file = b.path("bugs/" ++ @tagName(bug) ++ ".zig"),
124
.target = target,
125
- // TODO: hmm, investigate (fails on io_uring, prob related to gpa)
126
- .optimize = if (bug == .ticker) .ReleaseFast else optimize,
+ .optimize = switch (bug) {
+ // fails on io_uring if sanitize == true and optimize == debug, not sure why
127
+ .ticker => if (sanitize) .ReleaseFast else optimize,
128
+ else => optimize,
129
+ },
130
.sanitize_thread = sanitize,
131
.single_threaded = single_threaded,
132
.strip = false,
0 commit comments