diff options
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/Build/WebServer.zig | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/std/Build/WebServer.zig b/lib/std/Build/WebServer.zig index 454e9196b9..780e249323 100644 --- a/lib/std/Build/WebServer.zig +++ b/lib/std/Build/WebServer.zig @@ -59,11 +59,9 @@ pub const Options = struct { listen_address: std.net.Address, }; pub fn init(opts: Options) WebServer { - if (builtin.single_threaded) { - // The upcoming `std.Io` interface should allow us to use `Io.async` and `Io.concurrent` - // instead of threads, so that the web server can function in single-threaded builds. - std.process.fatal("--webui not yet implemented for single-threaded builds", .{}); - } + // The upcoming `std.Io` interface should allow us to use `Io.async` and `Io.concurrent` + // instead of threads, so that the web server can function in single-threaded builds. + comptime assert(!builtin.single_threaded); const all_steps = opts.all_steps; |
