diff options
author | 2023-01-21 19:42:21 -0800 | |
---|---|---|
committer | 2023-01-21 19:42:21 -0800 | |
commit | fdb9472f88f4acaeaec80adbbc558ea331f8b808 (patch) | |
tree | 990781a193a1d7b32821c530f8d012bfde1b38ed | |
parent | 17bde9bc86e97bd1d9f2dc80924dde780b759635 (diff) | |
download | bun-fdb9472f88f4acaeaec80adbbc558ea331f8b808.tar.gz bun-fdb9472f88f4acaeaec80adbbc558ea331f8b808.tar.zst bun-fdb9472f88f4acaeaec80adbbc558ea331f8b808.zip |
Fix `make headers`
-rw-r--r-- | src/which.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/which.zig b/src/which.zig index abf5d57f7..1bf2aba46 100644 --- a/src/which.zig +++ b/src/which.zig @@ -12,6 +12,7 @@ fn isValid(buf: *[bun.MAX_PATH_BYTES]u8, segment: []const u8, bin: []const u8) ? extern "C" fn is_executable_file(path: [*:0]const u8) bool; fn checkPath(filepath: [:0]const u8) bool { + bun.JSC.markBinding(@src()); return is_executable_file(filepath); } |