Skip to content

Commit 68e0ffc

Browse files
committed
"fix" test compilation
1 parent 0753eb7 commit 68e0ffc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main_tests.zig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,12 @@ test {
337337

338338
std.testing.refAllDecls(@import("generate.zig"));
339339
std.testing.refAllDecls(@import("cdp/msg.zig"));
340-
std.testing.refAllDecls(@import("server.zig"));
340+
341+
// Don't use refAllDecls, as this will pull in the entire project
342+
// and break the test build.
343+
// We should fix this. See this branch & the commit message for details:
344+
// https://github.com/karlseguin/browser/commit/193ab5ceab3d3758ea06db04f7690460d79eb79e
345+
_ = @import("server.zig");
341346
}
342347

343348
fn testJSRuntime(alloc: std.mem.Allocator) !void {

0 commit comments

Comments
 (0)