mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-06 08:23:19 +08:00
scr_json.c and scr_inspect.c called scr_gen_tag, which lives in scr_async.c. Libraries and the runtime's unit tests link those units without scr_async.c, so their links failed on the undefined symbol. Both now read the tag through scr_gen_tag_reader, defined in scr_json.c and set at startup by scr_async.c. A generator capsule only exists when the generator runtime is linked, so the pointer is always set when read.