mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
std.http: skip tests on wasi and single-threaded
WASI does not support networking, and these tests require threads.
This commit is contained in:
parent
651aa5e8e4
commit
6de8748b05
@ -1,7 +1,11 @@
|
||||
const builtin = @import("builtin");
|
||||
const std = @import("std");
|
||||
const testing = std.testing;
|
||||
|
||||
test "trailers" {
|
||||
if (builtin.single_threaded) return error.SkipZigTest;
|
||||
if (builtin.os.tag == .wasi) return error.SkipZigTest;
|
||||
|
||||
const gpa = testing.allocator;
|
||||
|
||||
var http_server = std.http.Server.init(.{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user