node
node copied to clipboard
Docs: `useCodeCache: true` for SEA blob preparation leads to 'broken' executables when creating cross platform SEAs.
Currently useCodeCache
has to be set to false
if one wants to create a SEA on platform A for platform B. Otherwise the generated executable will crash on startup.
The original problem and the solution are described in more detail here (postject
project).
It might be worth noting this in the documentation for the generation of single executable preparation blobs (sub chapter V8 code cache support) since it isn't obvious. Maybe something similar is also true for useSnapshot
.