chore: bump node to v20.15.0 (32-x-y) (#42615)
* chore: bump node in DEPS to v20.15.0 * doc: Add OpenSSL errors to API docs https://github.com/nodejs/node/pull/34213 * test: crypto-rsa-dsa testing for dynamic openssl https://github.com/nodejs/node/pull/52781 * src: allow preventing debug signal handler start https://github.com/nodejs/node/pull/46681 * cli: allow running wasm in limited vmemory with --disable-wasm-trap-handler https://github.com/nodejs/node/pull/52766 * chore: fixup indices --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
b7710d1ac9
commit
ae97180a81
16 changed files with 42 additions and 149 deletions
|
@ -530,10 +530,15 @@ void NodeBindings::Initialize(v8::Local<v8::Context> context) {
|
|||
|
||||
// Parse and set Node.js cli flags.
|
||||
std::vector<std::string> args = ParseNodeCliFlags();
|
||||
|
||||
// V8::EnableWebAssemblyTrapHandler can be called only once or it will
|
||||
// hard crash. We need to prevent Node.js calling it in the event it has
|
||||
// already been called.
|
||||
node::per_process::cli_options->disable_wasm_trap_handler = true;
|
||||
|
||||
uint64_t process_flags =
|
||||
node::ProcessInitializationFlags::kNoInitializeV8 |
|
||||
node::ProcessInitializationFlags::kNoInitializeNodeV8Platform |
|
||||
node::ProcessInitializationFlags::kNoEnableWasmTrapHandler;
|
||||
node::ProcessInitializationFlags::kNoInitializeNodeV8Platform;
|
||||
|
||||
// We do not want the child processes spawned from the utility process
|
||||
// to inherit the custom stdio handles created for the parent.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue