From cf28908c78f753b483f9f71234eaaa19be2267dc Mon Sep 17 00:00:00 2001 From: GlennBecker Date: Sat, 27 Aug 2022 14:44:25 -0600 Subject: [PATCH] Add Linux arm64 support --- npm/binary.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/npm/binary.js b/npm/binary.js index 66715453..96fc5ace 100644 --- a/npm/binary.js +++ b/npm/binary.js @@ -13,6 +13,9 @@ const getPlatform = () => { if (type === "Linux" && arch === "x64") { return "x86_64-unknown-linux-musl"; } + if (type === "Linux" && arch === "arm64") { + return "aarch64-unknown-linux-musl"; + } if (type === "Darwin" && (arch === "x64" || arch === "arm64")) { return "x86_64-apple-darwin"; }