| ... | @@ -111,12 +111,7 @@ pub const TestResults = struct { | ... | @@ -111,12 +111,7 @@ pub const TestResults = struct { |
| 111 | pub const MakeOptions = struct { | 111 | pub const MakeOptions = struct { |
| 112 | progress_node: std.Progress.Node, | 112 | progress_node: std.Progress.Node, |
| 113 | watch: bool, | 113 | watch: bool, |
| 114 | web_server: switch (builtin.target.cpu.arch) { | 114 | web_server: ?*Build.WebServer, |
| 115 | else => ?*Build.WebServer, | | |
| 116 | // WASM code references `Build.abi` which happens to incidentally reference this type, but | | |
| 117 | // it currently breaks because `std.net.Address` doesn't work there. Work around for now. | | |
| 118 | .wasm32 => void, | | |
| 119 | }, | | |
| 120 | /// If set, this is a timeout to enforce on all individual unit tests, in nanoseconds. | 115 | /// If set, this is a timeout to enforce on all individual unit tests, in nanoseconds. |
| 121 | unit_test_timeout_ns: ?u64, | 116 | unit_test_timeout_ns: ?u64, |
| 122 | /// Not to be confused with `Build.allocator`, which is an alias of `Build.graph.arena`. | 117 | /// Not to be confused with `Build.allocator`, which is an alias of `Build.graph.arena`. |