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-10 13:47:11 +0100
commit5217158d71f42f04e65490e82ef8275fde4c3157 (patch)
tree303232c9c4d9976ec636ff717235ce28c4994cd0
parent4259b747cb07a706e477a618a0384db59a731d47 (diff)
Make Rustc-1.80 the only Rustc.
-rw-r--r--snapcraft.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 176c294..ebea8b0 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -203,7 +203,6 @@ parts:
- python3-xcbgen
- quilt
- qtbase5-dev
- - rustc
- rustc-1.80
- sed
- wget
@@ -231,7 +230,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" \