From 22db1e166a6e3721df21546209fbfe9df7ddc0c0 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 21 Dec 2022 16:16:31 -0700 Subject: [PATCH] std.crypto.CertificateBundle: disable test on WASI --- lib/std/crypto/CertificateBundle.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/std/crypto/CertificateBundle.zig b/lib/std/crypto/CertificateBundle.zig index bc82d54a79..6f9e77a4d7 100644 --- a/lib/std/crypto/CertificateBundle.zig +++ b/lib/std/crypto/CertificateBundle.zig @@ -448,7 +448,9 @@ const MapContext = struct { } }; -test { +test "scan for OS-provided certificates" { + if (builtin.os.tag == .wasi) return error.SkipZigTest; + var bundle: CertificateBundle = .{}; defer bundle.deinit(std.testing.allocator);