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.
2 parents 4caba1c + 047db54 commit cf412d5Copy full SHA for cf412d5
build.zig
@@ -27,7 +27,7 @@ pub fn build(b: *std.Build) !void {
27
const root_path = LazyPath{ .cwd_relative = "." };
28
const build_path = LazyPath{ .cwd_relative = "./v8/" };
29
30
- const build_module = b.addModule("v8_build", .{
+ const build_module = b.createModule(.{
31
.root_source_file = b.path("src/main_build.zig"),
32
.target = target,
33
.optimize = optimize,
@@ -114,7 +114,7 @@ pub fn build(b: *std.Build) !void {
114
}
115
116
{
117
- const test_module = b.addModule("test_v8", .{
+ const test_module = b.createModule(.{
118
.root_source_file = b.path("src/v8.zig"),
119
120
0 commit comments