Unverified Commit 0ef87397 authored by Maia Teegarden's avatar Maia Teegarden Committed by GitHub

Account for platform/arch not supported by napi (#31938)

parent c03fa72c
...@@ -4,7 +4,7 @@ import Log from '../output/log' ...@@ -4,7 +4,7 @@ import Log from '../output/log'
const ArchName = arch() const ArchName = arch()
const PlatformName = platform() const PlatformName = platform()
const triples = platformArchTriples[PlatformName][ArchName] const triples = platformArchTriples[PlatformName][ArchName] || []
async function loadBindings() { async function loadBindings() {
return (await loadWasm()) || loadNative() return (await loadWasm()) || loadNative()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment