Skip to content

Commit e2dd17f

Browse files
bors[bot]matklad
andauthored
Merge #3714
3714: Use the right arch name for x86 (32 bit) r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents e5c07c3 + aed535f commit e2dd17f

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)