mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
Update response.zig
This commit is contained in:
@@ -1054,12 +1054,12 @@ pub const Headers = struct {
|
||||
}
|
||||
|
||||
comptime {
|
||||
if (!JSC.is_bindgen) {
|
||||
// Initially, these were function pointers
|
||||
// However, some Zig Stage1 C ABI bug causes EXC_BAD_ACCESS
|
||||
@export(preallocate, .{ .name = "Headers__preallocate" });
|
||||
@export(appendHeaderNormalizedC, .{ .name = "Headers__appendHeaderNormalized" });
|
||||
}
|
||||
// if (!JSC.is_bindgen) {
|
||||
// Initially, these were function pointers
|
||||
// However, some Zig Stage1 C ABI bug causes EXC_BAD_ACCESS
|
||||
@export(preallocate, .{ .name = "Headers__preallocate" });
|
||||
@export(appendHeaderNormalizedC, .{ .name = "Headers__appendHeaderNormalized" });
|
||||
// }
|
||||
}
|
||||
|
||||
pub fn empty(allocator: std.mem.Allocator) Headers {
|
||||
|
||||
Reference in New Issue
Block a user