Compare commits

..

No commits in common. "e7a6aa5f04b9c1d70f5f93370acc61b2994fc61a" and "0c6a9366f51404ed08988d62bd0d6569b4a7d035" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -74,7 +74,7 @@ fn make(step: *std.Build.Step, prog_node: *std.Progress.Node) !void {
&client, &client,
self.worker_name, self.worker_name,
self.options.wasm_dir orelse ".", self.options.wasm_dir orelse ".",
final_script, script,
al.writer(), al.writer(),
std.io.getStdErr().writer(), std.io.getStdErr().writer(),
); );

View File

@ -12,10 +12,7 @@ const FakeResponse = struct {
}, },
}; };
pub const Context = union(enum) { pub const Context = union(enum) {
web_request: switch (build_options.build_type) { web_request: if (build_options.build_type == .exe_run) *FakeResponse else *std.http.Server.Response,
.exe_run, .cloudflare => *FakeResponse,
else => *std.http.Server.Response,
},
flexilib: struct { flexilib: struct {
request: flexilib.ZigRequest, request: flexilib.ZigRequest,
response: flexilib.ZigResponse, response: flexilib.ZigResponse,