We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 817d046 commit c82345cCopy full SHA for c82345c
src/deps/uws/Response.zig
@@ -10,7 +10,8 @@
10
/// - Offers safe casting between Zig and C representations
11
/// - Maintains zero-cost abstractions over the underlying µWebSockets API
12
pub fn NewResponse(ssl_flag: i32) type {
13
- return opaque {
+ // making this opaque crashes Zig 0.14.0 when built in Debug or ReleaseSafe
14
+ return struct {
15
const Response = @This();
16
const ssl = ssl_flag == 1;
17
0 commit comments