Hi,
How to choose version of Rust in snapcraft file? Currently file looks that
parts:
user-part:
source: .
plugin: rust
build-packages: [cargo, rustc]
szyszka:
plugin: rust
source: https://github.com/qarmin/szyszka.git
build-packages:
- curl
- gcc
- git
apps:
szyszka:
command: bin/szyszka
extensions: [gnome]
plugs:
- home
- removable-media
- udisks2
and error is
:: error: failed to compile `szyszka v2.0.0 (/build/szyszka/parts/szyszka/build)`, intermediate artifacts can be found at `/build/szyszka/parts/szyszka/build/target`
::
:: Caused by:
:: package `cairo-sys-rs v0.17.0` cannot be built because it requires rustc 1.64 or newer, while the currently active rustc version is 1.61.0
Failed to run the build script for part 'szyszka'.
Full execution log: '/root/.cache/snapcraft/log/snapcraft-20230211-093356.131656.log'
In The rust plugin I see that there is no version parameter in core22, to set rust version