mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-10 01:56:15 +08:00
scr_dyn_invoke.c links into libraries that use dynamic calls, and its stored timer functions call scr_set_timeout_handle, scr_set_interval, scr_clear_interval, scr_set_immediate, scr_clear_immediate, scr_next_tick and scr_queue_microtask_dyn, which live in scr_async.c. Libraries never link scr_async.c (a library that schedules timers is refused at SC4005), so their host links failed with undefined symbols. Under SCR_LIB the calls that schedule are left out, and a call through a stored timer function throws the SC4005 event loop error. Executables compile the same code as before. - 6236-builtin-function-values.cjs counts the interval's runs apart from the order of the other callbacks and reports once the interval has stopped, so a slow machine prints the same line as Node. - node24-util-types: Function now reads as a value, so the fixture's first refusal is the SC1090 for extending Promise instead of the SC2009 for the FunctionConstructor value.