+4
-1
Diff
round #0
+4
-1
build.zig
+4
-1
build.zig
···
23
23
24
24
const translate_c = b.addTranslateC(.{
25
25
.root_source_file = b.path("src/alsa.h"),
26
-
.optimize = optimize,
26
+
.optimize = switch (optimize) {
27
+
.ReleaseSafe => .ReleaseFast,
28
+
else => |v| v,
29
+
},
27
30
.target = target,
28
31
});
29
32
translate_c.linkSystemLibrary("asound", .{}); // change to false when going crossplatform
History
1 round
0 comments
danikvitek.eurosky.social
submitted
#0
1 commit
expand
collapse
build: Don't use
ReleaseSafe for translate_c
merge conflicts detected
expand
collapse
expand
collapse
- build.zig:28
- src/main.zig:2
- src/root.zig:1