diff options
author | 2023-03-07 21:46:38 -0800 | |
---|---|---|
committer | 2023-03-07 21:46:38 -0800 | |
commit | 43b0d03482b2cff36564aeb6154356ca328b2020 (patch) | |
tree | d79943e179abff6be1bf216773835cc9a9035551 | |
parent | 7ac6eab209a536c5c3bb5547ab6f30e9860939d4 (diff) | |
download | bun-43b0d03482b2cff36564aeb6154356ca328b2020.tar.gz bun-43b0d03482b2cff36564aeb6154356ca328b2020.tar.zst bun-43b0d03482b2cff36564aeb6154356ca328b2020.zip |
Fix `make headers`
-rw-r--r-- | src/bun.js/base.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bun.js/base.zig b/src/bun.js/base.zig index 8de560b0f..adb540304 100644 --- a/src/bun.js/base.zig +++ b/src/bun.js/base.zig @@ -1773,6 +1773,8 @@ pub const ArrayBuffer = extern struct { } pub fn createEmpty(globalThis: *JSC.JSGlobalObject, comptime kind: JSC.JSValue.JSType) JSValue { + JSC.markBinding(@src()); + return switch (comptime kind) { .Uint8Array => Bun__createUint8ArrayForCopy(globalThis, null, 0, false), .ArrayBuffer => Bun__createArrayBufferForCopy(globalThis, null, 0), |