aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code')
-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";