Bootstrap a standalone native compiler (#572)

- Build static programs through the TypeScript 7 frontend, C and LLVM emitters, and native linker without a JavaScript host
- Share runtime-pack verification and link planning across native and Node compiler hosts
- Handle large C output and deep logical-expression validation during compiler bootstrapping
This commit is contained in:
Chris Tate
2026-09-29 09:21:59 -05:00
committed by GitHub
parent 13718c7ac1
commit 0d9d946dde
31 changed files with 1503 additions and 385 deletions
+7
View File
@@ -63,6 +63,7 @@ jobs:
--exclude=tests/harness/self-hosting-serialization.test.ts
--exclude=tests/harness/self-hosting.test.ts
--exclude=tests/harness/self-hosting-llvm-emitter.test.ts
--exclude=tests/harness/self-hosting-native-driver.test.ts
--exclude=tests/harness/fetch.test.ts
--exclude=tests/harness/npm-static.test.ts
--exclude=tests/harness/surface-manifest.test.ts
@@ -82,6 +83,12 @@ jobs:
env:
SCRIPTC_TEST_WORKERS: "1"
run: pnpm test tests/harness/self-hosting-llvm-emitter.test.ts
- name: Tests (native compiler bootstrap)
if: matrix.shard == 6
env:
SCRIPTC_TEST_WORKERS: "1"
VITEST_RPC_TIMEOUT: "180000"
run: pnpm test tests/harness/self-hosting-native-driver.test.ts
# These long files otherwise collide in one Vitest file shard and contend
# for the worker RPC. Spread them across jobs with one worker each.
- name: Tests (fetch)