aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-25 09:51:39 +0000
committerGitHub <[email protected]>2020-03-25 09:51:39 +0000
commite2dd17f75b1bb5e1185acff66211e74430177592 (patch)
treef998c2de2bd2c19e2ebbf30dedd055c216647ffc /editors/code/src
parente5c07c3c9c4a427850bdabcfbedc01f7b4146f5d (diff)
parentaed535fa7ab70016d45f9af3d61b318b633a11ae (diff)
Merge #3714
3714: Use the right arch name for x86 (32 bit) r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code/src')
-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";