This is a backport PR for branch 44-x-y
trop[bot]

#52879: build: generate the Node startup snapshot on cross-arch builds too

Merged
Created: Aug 16, 2026, 8:05:31 PM
Merged: Aug 19, 2026, 4:04:17 AM
2 comments
Target: 44-x-y

Backport of #52874
Backport of #52902
Backport of #52959

See those PRs for details. Rebased onto the current 44-x-y head (the earlier failing mksnapshot check was this branch predating #52878).

#52902 fixes the cross-arch snapshot #52874 introduces: without it a second node_mksnapshot run in v8_snapshot_toolchain keyed the browser js2c code cache to a snapshot the framework never shipped, so it was rejected at startup on Windows. #52959 fixes process.arch reading ia32 in the main process on linux-arm once it boots from the cross-generated snapshot (the arm test failures on the sibling backports).

Notes: Linux arm64, Windows arm64 and macOS x64 builds now start the main process from the embedded Node.js startup snapshot like the other platforms, improving startup time.

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Aug 16, 2026, 8:05:15 PM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron