fix(compile): add aarch64 linux to CliOptions::npm_system_info (#22567)

Follow-up for #22542.
This commit is contained in:
tuhana 2024-02-23 21:18:39 +03:00 committed by GitHub
parent 5193834cf2
commit bcf2156dbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(),