mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-08 08:44:37 +08:00
Lay out the native compiler's functions by the code each kind of run executes (#2265)
This commit is contained in:
@@ -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"] },
|
||||
|
||||
Reference in New Issue
Block a user