Files
bun.sh/scripts/features.mjs
Ashcon Partovi 39d8ade27c ci: musl builds (#15154)
Co-authored-by: Electroid <Electroid@users.noreply.github.com>
Co-authored-by: Meghan Denny <meghan@bun.sh>
2024-11-15 21:01:55 -08:00

8 lines
252 B
JavaScript
Executable File

// @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()));