diff options
author | 2023-05-06 13:19:41 -0700 | |
---|---|---|
committer | 2023-05-06 13:19:41 -0700 | |
commit | d4b35d9ae6709d5d20e270ad285291fa4ae9e950 (patch) | |
tree | 888bd960e51edaf3986d9584732e4733c3a2d7cf /src | |
parent | f523b2187a4bb0a173ad20a05bcdc6d3b003ef3d (diff) | |
download | bun-d4b35d9ae6709d5d20e270ad285291fa4ae9e950.tar.gz bun-d4b35d9ae6709d5d20e270ad285291fa4ae9e950.tar.zst bun-d4b35d9ae6709d5d20e270ad285291fa4ae9e950.zip |
Fix `make headers`
Diffstat (limited to 'src')
-rw-r--r-- | src/bun.js/api/JSBundler.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bun.js/api/JSBundler.zig b/src/bun.js/api/JSBundler.zig index 67e3f5295..f65ecd47e 100644 --- a/src/bun.js/api/JSBundler.zig +++ b/src/bun.js/api/JSBundler.zig @@ -776,6 +776,7 @@ pub const JSBundler = struct { context: *anyopaque, default_loader: options.Loader, ) void { + JSC.markBinding(@src()); const namespace_string = if (namespace.len == 0) ZigString.init("file") else @@ -793,6 +794,7 @@ pub const JSBundler = struct { context: *anyopaque, import_record_kind: bun.ImportKind, ) void { + JSC.markBinding(@src()); const namespace_string = if (strings.eqlComptime(namespace, "file")) ZigString.Empty else @@ -806,15 +808,18 @@ pub const JSBundler = struct { this: *Plugin, object: JSC.JSValue, ) JSValue { + JSC.markBinding(@src()); return JSBundlerPlugin__runSetupFunction(this, object); } pub fn deinit(this: *Plugin) void { + JSC.markBinding(@src()); JSBundlerPlugin__tombestone(this); JSC.JSValue.fromCell(this).unprotect(); } pub fn setConfig(this: *Plugin, config: *anyopaque) void { + JSC.markBinding(@src()); JSBundlerPlugin__setConfig(this, config); } |