mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-15 04:50:40 +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.
8 lines
421 B
JavaScript
8 lines
421 B
JavaScript
import { dirname } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
import { mobileRuntimeConfig } from "../../runtime-pack-common/scripts/mobile-toolchain.mjs";
|
|
|
|
process.env.SCRIPTC_RUNTIME_PACK_ROOT = dirname(dirname(fileURLToPath(import.meta.url)));
|
|
process.env.SCRIPTC_RUNTIME_PACK_CONFIG = JSON.stringify(mobileRuntimeConfig("android-arm64"));
|
|
await import("../../runtime-pack-common/scripts/build.mjs");
|