summaryrefslogtreecommitdiff
diff options
authorNathan Pratta Teodosio <nathan.teodosio@canonical.com>2025-01-10 13:47:11 +0100
committerNathan Pratta Teodosio <nathan.teodosio@canonical.com>2025-01-17 08:55:52 +0100
commit6ce1d5242779c72130b83cd39889907e1f37b215 (patch)
treee9016437d4bad39a2d12e5953a27d2aedc0951f6
parent21ad7eb3992a7f6957202f79bd16c683496679f6 (diff)
Make Rustc-1.80 the only Rustc.
-rw-r--r--snapcraft.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index a06dc5f..0384de5 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -196,7 +196,7 @@ parts:
- python3-xcbgen
- quilt
- qtbase5-dev
- - rustc
+ - rustc-1.80
- sed
- wget
- xcb-proto
@@ -223,6 +223,13 @@ parts:
fi
}
+ ln -s /usr/bin/rustc-1.80 /usr/bin/rustc
+ ln -s /usr/bin/rust-1.80-clang /usr/bin/rust-clang
+ ln -s /usr/bin/rust-1.80-lld /usr/bin/rust-lld
+ ln -s /usr/bin/rust-1.80-llvm-dwp /usr/bin/rust-llvm-dwp
+ ln -s /usr/bin/rustdoc-1.80 /usr/bin/rustdoc
+ rustc --version
+
# Otherwise who really can claim to know what they contain?
printf '%s\n' \
"$CRAFT_STAGE" \