Skip to content

Commit f89fabd

Browse files
committed
Fix build panic by providing target and optimize to runz_module
1 parent cb33f68 commit f89fabd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ pub fn build(b: *std.Build) void {
99

1010
const runz_module = b.addModule("runz", .{
1111
.root_source_file = b.path("src/lib.zig"),
12+
.target = target,
13+
.optimize = optimize,
1214
.imports = &.{
1315
.{ .name = "ocispec", .module = ocispec_module },
1416
},

0 commit comments

Comments
 (0)