Skip to content

Commit ce818cf

Browse files
committed
Add "build.zig" to paths
1 parent 9048a86 commit ce818cf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

build.zig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@ pub fn build(b: *std.Build) void {
3030
b.installArtifact(lib);
3131

3232
// Export as module to be available for @import("Fluent") on user site
33-
_ = b.addModule("Fluent", .{ .root_source_file = b.path("fluent.zig") });
33+
_ = b.addModule("Fluent", .{
34+
.root_source_file = b.path("fluent.zig"),
35+
.target = target,
36+
.optimize = optimize,
37+
});
3438
}

build.zig.zon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"LICENSE",
77
"README.md",
88
"build.zig.zon",
9+
"build.zig",
910
},
1011
}

0 commit comments

Comments
 (0)