Skip to content

Commit aed535f

Browse files
committed
Use the right arch name for x86 (32 bit)
1 parent 8a73a89 commit aed535f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ async function getServer(config: Config, state: PersistentState): Promise<string
188188
if (config.package.releaseTag === undefined) return "rust-analyzer";
189189

190190
let binaryName: string | undefined = undefined;
191-
if (process.arch === "x64" || process.arch === "x32") {
191+
if (process.arch === "x64" || process.arch === "ia32") {
192192
if (process.platform === "linux") binaryName = "rust-analyzer-linux";
193193
if (process.platform === "darwin") binaryName = "rust-analyzer-mac";
194194
if (process.platform === "win32") binaryName = "rust-analyzer-windows.exe";

0 commit comments

Comments
 (0)