Allow code extension to download binary in apple arm
This commit is contained in:
parent
e86344745e
commit
6089c6b1ea
@ -287,7 +287,7 @@ async function getServer(config: Config, state: PersistentState): Promise<string
|
||||
if (config.package.releaseTag === null) return "rust-analyzer";
|
||||
|
||||
let platform: string | undefined;
|
||||
if (process.arch === "x64" || process.arch === "ia32") {
|
||||
if (process.arch === "x64" || process.arch === "ia32" || process.arch === "arm64") {
|
||||
if (process.platform === "linux") platform = "linux";
|
||||
if (process.platform === "darwin") platform = "mac";
|
||||
if (process.platform === "win32") platform = "windows";
|
||||
|
Loading…
Reference in New Issue
Block a user