diff --git a/CHANGELOG.md b/CHANGELOG.md index 20fec948..2e6dd900 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,6 +59,8 @@ the frozen-backend fallback mirror it for their toolchains. - Require the pinned Apple Silicon GGUF build to pass and document runtime preflight conditions (#2115) — thanks @LMGXENON and @martinezpl! +- Correct the Windows Rustup installation command in tooling and documentation (#2066) — thanks @Rukhaam! + ## [0.5.3] — 2026-09-17 **Highlights** diff --git a/docs/install/windows.md b/docs/install/windows.md index f5c35d54..b250e17d 100644 --- a/docs/install/windows.md +++ b/docs/install/windows.md @@ -48,7 +48,7 @@ Everything above, plus the toolchain: with the **"Desktop development with C++"** workload checked. - **Bun** — `powershell -c "irm bun.sh/install.ps1 | iex"`. - **FFmpeg** — `winget install Gyan.FFmpeg`. -- **Rust / Cargo** — `winget install Rust.Rustup` or download `rustup-init.exe` from [rustup.rs](https://rustup.rs/). +- **Rust / Cargo** — `winget install Rustlang.Rustup` or download `rustup-init.exe` from [rustup.rs](https://rustup.rs/). After installing Rustup, close and reopen PowerShell before running `bun run tauri:desktop-prod`. ## GPU support on Windows diff --git a/scripts/desktop-toolchain-path.mjs b/scripts/desktop-toolchain-path.mjs index 9b2b790f..f9fe7dde 100644 --- a/scripts/desktop-toolchain-path.mjs +++ b/scripts/desktop-toolchain-path.mjs @@ -100,7 +100,7 @@ export function cargoMissingMessage(command) { `❌ ${command} needs Rust/cargo, and none was found.`, "", " Install the Rust toolchain, then reopen your terminal:", - " Windows: winget install Rust.Rustup", + " Windows: winget install Rustlang.Rustup", " macOS/Linux: https://rustup.rs", "", " Or download a prebuilt installer from the Releases page (no toolchain needed).", diff --git a/tests/frontend/desktopScripts.test.mjs b/tests/frontend/desktopScripts.test.mjs index 2a93e62b..4458968b 100644 --- a/tests/frontend/desktopScripts.test.mjs +++ b/tests/frontend/desktopScripts.test.mjs @@ -294,6 +294,6 @@ test('launcher messages name the tag, the permanent remedy, and the install path assert.match(note, /Open a new terminal/); const msg = cargoMissingMessage('`bun desktop-prod`'); assert.match(msg, /`bun desktop-prod` needs Rust\/cargo/); - assert.match(msg, /winget install Rust\.Rustup/); + assert.match(msg, /winget install Rustlang\.Rustup/); assert.match(msg, /rustup\.rs/); });