mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
8 lines
252 B
JavaScript
Executable File
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()));
|