Goal
Implement the pinned Home/Bun private-JSC JSFunction__createFromZig boundary with the exact BunString, JSHostFn, CallFrame, visibility, intrinsic, arity, and optional constructor contracts.
Parent tracking: #134, #140, #163, #164.
Required behavior
Evidence gate
- Home private ABI audit: 249/431 implemented, 182 pending, zero unclassified.
- Bun private ABI audit: 243/421 implemented, 178 pending, zero unclassified.
- Compiled Home consumer fixture: 248/248, including call, construct, sibling-realm, GC, and failure paths.
- Targeted
test-home-private-abi and test-c-api gates pass.
- Benchmark artifact remains
36a617b3; this ABI-only slice does not alter the benchmark workload.
Implementation: d2a653b. Documentation: 515f058.
Goal
Implement the pinned Home/Bun private-JSC
JSFunction__createFromZigboundary with the exactBunString,JSHostFn,CallFrame, visibility, intrinsic, arity, and optional constructor contracts.Parent tracking: #134, #140, #163, #164.
Required behavior
BunStringname without retaining borrowed input.nameandlength.JSHostFnthrough the pinned JSC64CallFrameregister layout (callee, argument count includingthis, receiver/new.target, arguments).EncodedJSValuevalues and pending exceptions exactly at the VM boundary.Evidence gate
test-home-private-abiandtest-c-apigates pass.36a617b3; this ABI-only slice does not alter the benchmark workload.Implementation: d2a653b. Documentation: 515f058.