Lay out the native compiler's functions by the code each kind of run executes (#2265)

This commit is contained in:
Chris Tate
2026-10-26 00:29:02 -05:00
committed by GitHub
17 changed files with 686 additions and 40 deletions
@@ -220,7 +220,7 @@ test("early executable cache misses on source and resolution changes", async ()
expect(await readEarlyExecutableCache(f.root, f.options)).toBeNull();
});
test("early executable keys isolate compile modes, paths, implementation, checker, and FFI manifests", async () => {
test("early executable keys isolate compile modes, paths, implementation, checker, function layouts, and FFI manifests", async () => {
const f = await fixture();
const tracker = new FrontendInputTracker();
tracker.run(() => trackedReadFile(f.source));
@@ -242,6 +242,7 @@ test("early executable keys isolate compile modes, paths, implementation, checke
{ ...f.options, cpuDispatch: true },
{ ...f.options, profile: "profile-generate:/tmp/%p.profraw" },
{ ...f.options, profile: "profile-use:digest" },
{ ...f.options, functionLayout: "layout-digest" },
{ ...f.options, checker: "tsc-ts-executable-identity" },
{ ...f.options, npmStatic: "auto" },
{ ...f.options, npmStatic: ["commander"] },