about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-03-25 10:51:03 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-03-25 10:51:03 +0100
commitaed535fa7ab70016d45f9af3d61b318b633a11ae (patch)
treea23703c309f647135ad386ec2cdbfdd87140d367 /editors/code/src
parent8a73a8937d67db97072a11a40f0c3ed963e18e1b (diff)
downloadrust-aed535fa7ab70016d45f9af3d61b318b633a11ae.tar.gz
rust-aed535fa7ab70016d45f9af3d61b318b633a11ae.zip
Use the right arch name for x86 (32 bit)
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 7b7c19dfcf0..de27d95353b 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
     if (config.package.releaseTag === undefined) return "rust-analyzer";
 
     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 === "darwin") binaryName = "rust-analyzer-mac";
         if (process.platform === "win32") binaryName = "rust-analyzer-windows.exe";