Files
bun.sh/scripts/features.mjs
2025-05-12 17:12:17 -07:00

8 lines
252 B
JavaScript
Executable File

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