Skip to content

Commit ff027e7

Browse files
committed
Fix: Upgrade Rust toolchain to latest stable via rustup in snapcraft.yaml
1 parent 16aa2a0 commit ff027e7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packaging/snap/snapcraft.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ parts:
3232
build-packages:
3333
- nodejs
3434
- npm
35-
- rustc
36-
- cargo
3735
- libwebkit2gtk-4.1-dev
3836
- build-essential
3937
- curl
@@ -52,6 +50,10 @@ parts:
5250
curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
5351
apt-get install -y nodejs
5452
53+
# Install Rust manually (System rustc is too old)
54+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
55+
export PATH="$HOME/.cargo/bin:$PATH"
56+
5557
# Install Dependencies
5658
npm ci
5759

0 commit comments

Comments
 (0)