Skip to content

Commit 8f89392

Browse files
committed
docs(desktop): use a supported Rust toolchain for Linux builds
1 parent 18a49b2 commit 8f89392

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎docs/operations/development.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,28 +302,30 @@ keeps the explicit flush needed when Windows force-kills the backend.
302302
### Linux AppImage prerequisites
303303

304304
Build on Linux because the browser-secret helper links against the host's libsecret. Install
305-
Rust, C/C++ build tools, libsecret development headers, pkg-config, and ImageMagick.
305+
C/C++ build tools, libsecret development headers, pkg-config, and ImageMagick.
306306
Bytecode preparation also runs packaged Electron and requires GTK, NSS, ALSA, and GBM runtime libraries.
307+
Install Rust 1.95 or newer through [rustup](https://rust-lang.org/install), using the stable
308+
toolchain as release CI does.
307309

308310
Ubuntu 24.04 and Debian 13:
309311

310312
```sh
311313
sudo apt-get update
312-
sudo apt-get install cargo rustc build-essential libsecret-1-dev pkg-config imagemagick libgtk-3-0t64 libnss3 libasound2t64 libgbm1
314+
sudo apt-get install build-essential libsecret-1-dev pkg-config imagemagick libgtk-3-0t64 libnss3 libasound2t64 libgbm1
313315
```
314316

315317
On Ubuntu 22.04 and Debian 12, use `libgtk-3-0` and `libasound2` instead of the `t64` packages.
316318

317319
Fedora:
318320

319321
```sh
320-
sudo dnf install rust cargo gcc gcc-c++ make libsecret-devel pkgconf-pkg-config ImageMagick gtk3 nss alsa-lib mesa-libgbm
322+
sudo dnf install gcc gcc-c++ make libsecret-devel pkgconf-pkg-config ImageMagick gtk3 nss alsa-lib mesa-libgbm
321323
```
322324

323325
Arch Linux:
324326

325327
```sh
326-
sudo pacman -S rust base-devel libsecret pkgconf imagemagick gtk3 nss alsa-lib mesa
328+
sudo pacman -S base-devel libsecret pkgconf imagemagick gtk3 nss alsa-lib mesa
327329
```
328330

329331
The C toolchain, pkg-config, and libsecret headers are also needed for Linux desktop development.

0 commit comments

Comments
 (0)