mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Use the right arch name for x86 (32 bit)
This commit is contained in:
parent
8a73a8937d
commit
aed535fa7a
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ async function getServer(config: Config, state: PersistentState): Promise<string
|
||||||
if (config.package.releaseTag === undefined) return "rust-analyzer";
|
if (config.package.releaseTag === undefined) return "rust-analyzer";
|
||||||
|
|
||||||
let binaryName: string | undefined = undefined;
|
let binaryName: string | undefined = undefined;
|
||||||
if (process.arch === "x64" || process.arch === "x32") {
|
if (process.arch === "x64" || process.arch === "ia32") {
|
||||||
if (process.platform === "linux") binaryName = "rust-analyzer-linux";
|
if (process.platform === "linux") binaryName = "rust-analyzer-linux";
|
||||||
if (process.platform === "darwin") binaryName = "rust-analyzer-mac";
|
if (process.platform === "darwin") binaryName = "rust-analyzer-mac";
|
||||||
if (process.platform === "win32") binaryName = "rust-analyzer-windows.exe";
|
if (process.platform === "win32") binaryName = "rust-analyzer-windows.exe";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue