mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-20 05:40:17 +08:00
- Remove C emission, debugging options, and automatic backend fallback. - Complete LLVM lowering and native bootstrap coverage across supported targets. - Link executables and libraries with precompiled C runtime packs, including iOS and Android.
7 lines
334 B
TypeScript
7 lines
334 B
TypeScript
import { readFileSync } from "node:fs";
|
|
import { deserializeModule } from "../../../packages/compiler/src/ir/serialize.js";
|
|
import { moduleRuntimeFeatures } from "../../../packages/compiler/src/ir/ir.js";
|
|
|
|
const mod = deserializeModule(readFileSync(process.argv[2]!, "utf8"));
|
|
console.log(JSON.stringify(moduleRuntimeFeatures(mod)));
|