Skip to content
Prev Previous commit
Next Next commit
Update doc/api/single-executable-applications.md
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
  • Loading branch information
debbs061 and joyeecheung authored Jul 26, 2024
commit 85e081bcd77e9cf3c5535e8fcaeb378f90a2158f
2 changes: 1 addition & 1 deletion doc/api/single-executable-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ current working directory. The version of the Node.js binary used to produce
the blob must be the same as the one to which the blob will be injected.

Note: When generating cross-platform SEAs (e.g., generating an SEA on
platform A for platform B), `useCodeCache` and `useSnapshot` must be set to
for `linux-x64` on `darwin-arm64`), `useCodeCache` and `useSnapshot` must be set to
false to avoid generating incompatible executables. Since code cache and snapshots can only be loaded
on the same platform where they are compiled, the generated executable might crash on startup when
trying to load code cache or snapshots built on a different platform.
Expand Down