cloudflare deploy not designed for wasi
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m30s

This commit is contained in:
Emil Lerch 2023-10-20 22:04:41 -07:00
parent cbe8b6dd1f
commit 88eb415a1e
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -137,9 +137,11 @@ fn processRequest(aa: std.mem.Allocator, server: *std.http.Server, event_handler
test { test {
std.testing.refAllDecls(@This()); // standalone, standalone web server std.testing.refAllDecls(@This()); // standalone, standalone web server
// if (builtin.os.tag == .wasi) return error.SkipZigTest; // if (builtin.os.tag == .wasi) return error.SkipZigTest;
if (@import("builtin").os.tag != .wasi) std.testing.refAllDecls(@import("lambda.zig")); // lambda if (@import("builtin").os.tag != .wasi) {
std.testing.refAllDecls(@import("lambda.zig")); // lambda
std.testing.refAllDecls(@import("cloudflaredeploy.zig"));
std.testing.refAllDecls(@import("CloudflareDeployStep.zig"));
}
// TODO: re-enable // TODO: re-enable
// std.testing.refAllDecls(@import("flexilib.zig")); // flexilib // std.testing.refAllDecls(@import("flexilib.zig")); // flexilib
std.testing.refAllDecls(@import("CloudflareDeployStep.zig"));
std.testing.refAllDecls(@import("cloudflaredeploy.zig"));
} }