Skip to content

Commit c5d8a51

Browse files
feat: remove unnecessary build.zig code
1 parent 44b5a8b commit c5d8a51

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

build.zig

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,11 @@ pub fn build(b: *std.Build) void {
66
const optimize = b.standardOptimizeOption(.{});
77
const backend = b.option(Phantom.BackendType, "backend", "The backend to use for the example") orelse .headless;
88

9-
const phantom_i18n = b.dependency("phantom.i18n", .{
10-
.target = target,
11-
.optimize = optimize,
12-
});
13-
149
const phantom = b.dependency("phantom", .{
1510
.target = target,
1611
.optimize = optimize,
1712
});
1813

19-
_ = b.addModule("phantom.i18n", .{
20-
.source_file = .{
21-
.path = phantom_i18n.builder.pathFromRoot(phantom_i18n.module("phantom.i18n").source_file.path),
22-
},
23-
});
24-
2514
_ = b.addModule("phantom", .{
2615
.source_file = .{
2716
.path = phantom.builder.pathFromRoot(phantom.module("phantom").source_file.path),
@@ -41,7 +30,6 @@ pub fn build(b: *std.Build) void {
4130
});
4231

4332
exe.addModule("phantom", phantom.module("phantom"));
44-
exe.addModule("phantom.i18n", phantom_i18n.module("phantom.i18n"));
4533
exe.addOptions("options", options);
4634
b.installArtifact(exe);
4735
}

0 commit comments

Comments
 (0)