Compare commits
No commits in common. "e7a6aa5f04b9c1d70f5f93370acc61b2994fc61a" and "0c6a9366f51404ed08988d62bd0d6569b4a7d035" have entirely different histories.
e7a6aa5f04
...
0c6a9366f5
|
@ -74,7 +74,7 @@ fn make(step: *std.Build.Step, prog_node: *std.Progress.Node) !void {
|
|||
&client,
|
||||
self.worker_name,
|
||||
self.options.wasm_dir orelse ".",
|
||||
final_script,
|
||||
script,
|
||||
al.writer(),
|
||||
std.io.getStdErr().writer(),
|
||||
);
|
||||
|
|
|
@ -12,10 +12,7 @@ const FakeResponse = struct {
|
|||
},
|
||||
};
|
||||
pub const Context = union(enum) {
|
||||
web_request: switch (build_options.build_type) {
|
||||
.exe_run, .cloudflare => *FakeResponse,
|
||||
else => *std.http.Server.Response,
|
||||
},
|
||||
web_request: if (build_options.build_type == .exe_run) *FakeResponse else *std.http.Server.Response,
|
||||
flexilib: struct {
|
||||
request: flexilib.ZigRequest,
|
||||
response: flexilib.ZigResponse,
|
||||
|
|
Loading…
Reference in New Issue
Block a user