also looking at this
Implement the web UI server with Zig I/O
#26
8 files
+513
-114
| @@ -56,6 +56,13 @@ pub fn build(b: *std.Build) void { | ||
| 56 | 56 | // Unit tests for the framework itself |
| 57 | 57 | const lib_unit_tests = b.addTest(.{ |
| 58 | 58 | .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, | |
| 59 | 66 | }); |
| 60 | 67 | |
| 61 | 68 | const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests); |