aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-25 09:51:03 +0000
committerAleksey Kladov <[email protected]>2020-03-25 09:51:03 +0000
commitaed535fa7ab70016d45f9af3d61b318b633a11ae (patch)
treea23703c309f647135ad386ec2cdbfdd87140d367 /editors
parent8a73a8937d67db97072a11a40f0c3ed963e18e1b (diff)
Use the right arch name for x86 (32 bit)
Diffstat (limited to 'editors')
-rw-r--r--editors/code/src/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index 7b7c19dfc..de27d9535 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -188,7 +188,7 @@ async function getServer(config: Config, state: PersistentState): Promise<string
188 if (config.package.releaseTag === undefined) return "rust-analyzer"; 188 if (config.package.releaseTag === undefined) return "rust-analyzer";
189 189
190 let binaryName: string | undefined = undefined; 190 let binaryName: string | undefined = undefined;
191 if (process.arch === "x64" || process.arch === "x32") { 191 if (process.arch === "x64" || process.arch === "ia32") {
192 if (process.platform === "linux") binaryName = "rust-analyzer-linux"; 192 if (process.platform === "linux") binaryName = "rust-analyzer-linux";
193 if (process.platform === "darwin") binaryName = "rust-analyzer-mac"; 193 if (process.platform === "darwin") binaryName = "rust-analyzer-mac";
194 if (process.platform === "win32") binaryName = "rust-analyzer-windows.exe"; 194 if (process.platform === "win32") binaryName = "rust-analyzer-windows.exe";