From bcf2156dbfac42d7bc9b0f6cb759a97d27b43a78 Mon Sep 17 00:00:00 2001 From: tuhana Date: Fri, 23 Feb 2024 21:18:39 +0300 Subject: [PATCH] fix(compile): add aarch64 linux to `CliOptions::npm_system_info` (#22567) Follow-up for #22542. --- cli/args/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 2a779e04b0..7bfb6bc0e8 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -843,6 +843,10 @@ impl CliOptions { os: "darwin".to_string(), cpu: "arm64".to_string(), }, + "aarch64-unknown-linux-gnu" => NpmSystemInfo { + os: "linux".to_string(), + cpu: "arm64".to_string(), + }, "x86_64-apple-darwin" => NpmSystemInfo { os: "darwin".to_string(), cpu: "x64".to_string(),