mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-08 08:44:37 +08:00
Reapplies #2017, which #2038 reverted after effect's observability-otlp fixture crashed in plain builds. The crash was the candidate-buffer corruption that the previous commit fixes: the cached property sites change when the collector runs, and with enough environment variables a pass buffered a string box that was later pooled while still buffered.
7 lines
161 B
TypeScript
7 lines
161 B
TypeScript
// The library's typed export over untyped code (work.mjs).
|
|
import { runAll } from "./work.mjs";
|
|
|
|
export function run(): number {
|
|
return runAll() as number;
|
|
}
|