mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-27 06:43:19 +08:00
The Linux test jobs set ASAN_OPTIONS=detect_leaks=0 for both flavors and left leak detection to the RC audit, which does not see runtime tables allocated with calloc. A worker thread's record-source table leaked that way, and only local runs reported it. The san shards' case-sharded corpus task now sets detect_leaks=1 and an LSAN_OPTIONS suppressions file, tests/harness/lsan.supp, which starts empty. Plain shards, the side queue, the Effect jobs and macOS, whose ASan has no LeakSanitizer, keep leak detection off.