| author | |
| committer | |
| log | 6de8748b057d99d6003e1d4a5f7fb027776522ad |
| tree | 5a1e9fa200408f32d46d6064006903b16633498e |
| parent | 651aa5e8e497a12dc14d31f383777f99b92a2739 |
WASI does not support networking, and these tests require threads.1 files changed, 4 insertions(+), 0 deletions(-)
lib/std/http/test.zig+4| ... | ... | @@ -1,7 +1,11 @@ |
| 1 | const builtin = @import("builtin"); | |
| 1 | 2 | const std = @import("std"); |
| 2 | 3 | const testing = std.testing; |
| 3 | 4 | |
| 4 | 5 | test "trailers" { |
| 6 | if (builtin.single_threaded) return error.SkipZigTest; | |
| 7 | if (builtin.os.tag == .wasi) return error.SkipZigTest; | |
| 8 | ||
| 5 | 9 | const gpa = testing.allocator; |
| 6 | 10 | |
| 7 | 11 | var http_server = std.http.Server.init(.{ |