ReviewOS

also looking at this

zig-utils/zig-test-framework

Implement the web UI server with Zig I/O

#26
Merged glennmichael123 wants to merge codex/issue-9-ui-server into main
8 files +513 -114
build.zigmodified+7-0
Changes to build.zig
@@ -56,6 +56,13 @@ pub fn build(b: *std.Build) void {
5656 // Unit tests for the framework itself
5757 const lib_unit_tests = b.addTest(.{
5858 .root_module = lib_module,
59 // The Zig server-mode test runner can deadlock with Threaded network
60 // I/O on Windows. Run this networking-heavy test artifact through the
61 // normal process protocol and use its exit status instead.
62 .test_runner = if (target.result.os.tag == .windows) .{
63 .path = b.path("tests/simple_test_runner.zig"),
64 .mode = .simple,
65 } else null,
5966 });
6067
6168 const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests);