mirror of
https://github.com/oven-sh/bun
synced 2026-02-23 18:21:41 +01: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()));
|