Files
bun.sh/scripts/features.mjs
2024-09-11 08:24:50 -07:00

8 lines
252 B
JavaScript

// @bun
// Used to generate a features.json file after building Bun.
import { writeFileSync } from "node:fs";
import { crash_handler } from "bun:internal-for-testing";
writeFileSync("./features.json", JSON.stringify(crash_handler.getFeatureData()));