swap unnecessary addModule with createModule

This commit is contained in:
Karl Seguin
2025-08-21 09:59:42 +08:00
parent 4ad19fc4d8
commit 65088b8644
2 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ pub fn build(b: *Build) !void {
{
// wpt
// -----
const wpt_module = b.addModule("lightpanda", .{
const wpt_module = b.createModule(.{
.root_source_file = b.path("src/main_wpt.zig"),
.target = target,
.optimize = optimize,