Skip to content

src: implement constants and natives binding directly

Rodrigo Muino Tomonari requested to merge github/fork/joyeecheung/constants into main

src: implement natives binding without special casing

This patch removes special case in the internal binding loader for natives, and implements it using the builtins internal binding. Internally we do not actually need the natives binding, so implement it as a legacy wrapper instead.

src: implement constants binding directly

Instead of adding a special case for it in the internal binding loader, just implement it as usual using a per-context property initializer.

Merge request reports

Loading