( execArgv: readonly string[] = process.execArgv )
| 86 | |
| 87 | /** True when every required WASM runtime flag is already present in `execArgv`. */ |
| 88 | export function processHasWasmRuntimeFlags( |
| 89 | execArgv: readonly string[] = process.execArgv |
| 90 | ): boolean { |
| 91 | return WASM_RUNTIME_FLAGS.every((flag) => execArgv.includes(flag)); |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * Build the argv for re-execing node with the WASM runtime flags: our flags |
no outgoing calls
no test coverage detected