mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
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>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user