chore: snap add missing parts migrating to core22

https://documentation.ubuntu.com/snapcraft/stable/how-to/change-bases/change-from-core20-to-core22/
This commit is contained in:
zonyitoo
2025-12-19 02:37:28 +08:00
parent 3f04e25071
commit d5b08c02c0

View File

@@ -65,9 +65,11 @@ parts:
rust-channel: stable
rust-features: [full]
override-pull: |
snapcraftctl pull
snapcraftctl set-version `git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'`
craftctl default
craftctl set version=`git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'`
build-packages:
- rustc
- cargo
- cmake
- bindgen
- llvm-dev