You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ABI: implement private C-API call and proxy extensions #371
Implement the two shared private extensions declared by pinned Home/Bun javascript_core_c_api.zig.
Acceptance:
Export JSObjectCallAsFunctionReturnValueHoldingAPILock with exact C signature, recursive VM API-lock coverage, default-global this, ordered argument conversion, and normal encoded return values.
Convert a thrown call into an encoded exception cell returned to the caller without leaking it into the VM pending-exception slot.
Return empty for null, non-callable, foreign-VM, or otherwise invalid values without publishing partial results.
Export JSObjectGetProxyTarget as a pure trap-free direct target projection; return null for non-proxies, revoked proxies, non-value private handles, and null inputs. As in JSC, dereferencing a handle after its entire context group is destroyed is outside the C API lifetime contract.
Preserve same-VM identity/lifetime and avoid invoking proxy traps.
Add focused engine and compiled Home/Bun consumer evidence in Debug and ReleaseSafe.
Refresh inventories/docs and parent issue evidence.
Activity
feat(abi): implement private C API extensions (#371)
chrisbbreuer commentedon Jul 20, 2026
Completed in
930f177band pushed directly tomain.Evidence:
this, ordered arguments, encoded normal returns, exception-cell returns, and an empty VM pending-exception slot are covered;The root README benchmark block is unchanged because this ABI slice does not affect or regenerate benchmark results.