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