mirror of
https://github.com/pithings/unkernel.git
synced 2026-12-02 03:10:15 +08:00
pnpm build inlines js/node/cpu-entry.ts where js/node/cpu.ts starts it, in the Node entries and inside the inlined Node kernel worker (WORKERS nested), so the package starts SMP CPUs without source files. The page build serves web/kernel/page/: the bundle without its SMP patch section (the same bytes when there is none) and, only with a patch, the SMP bundle it makes as a second hashed asset (kernelSmpUrl, unused until the page has CPU threads).