feat(rust_plugin): use `rustup` snap and more options
Metadata
Current evaluation
Merged as 41d9e952 and released in craft-parts 1.27.0, switching the Rust plugin to the rustup Snap and adding configuration options.
Resolution: closed resolved
Reason: PR #626 was approved and merged as commit 41d9e952. Its rustup Snap integration and additional Rust plugin options shipped in version 1.27.0.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
This pull request adds a few more options to the existing Rust plugin. It also switches to the `rustup` Snap instead of the ad-hoc installation method.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged as 41d9e952 and released in craft-parts 1.27.0, switching the Rust plugin to the rustup Snap and adding configuration options. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-parts#626 via commit 41d9e952, switching the Rust plugin to the rustup Snap and adding configuration options; included in 1.27.0. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval, switching the Rust plugin to the rustup Snap and adding configuration options. Integration proceeded despite a noted CI failure related to the Python plugin. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged the Rust plugin update to use the rustup Snap and added new configuration options. Initial CI failures caused by a Python plugin bug were resolved, and the changes were successfully integrated. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #579 Add new plugin: rust | snapcraft | merged | Merged PR #579 as commit 24f1def33, adding Snapcraft's Rust plugin, resolving conflicts, and updating plugin-list test expectations. | |
| #198 plugins: rust | craft-parts | merged | Merged PR #198 (bb92a132) ported Snapcraft’s Rust plugin into craft-parts for CRAFT-955 after prerequisite test refactor #199. | |
| #2431 rust plugin: update to use latest rustup command options | snapcraft | merged | Merged PR #2431 updated the Rust plugin to use current rustup options instead of deprecated commands; landed as commit 3e821ca8d. | |
| #1662960 Rust plugin using old rustup link | snapcraft (launchpad) | closed | Rust plugin’s outdated rustup URL was updated by merged canonical/snapcraft#2438 (commit ea6caa72b), resolving the stale-link problem. | |
| #2434 rust plugin: refactor to use the latest rustup | snapcraft | merged | Merged PR #2434 in commit 3e821ca8d, updating the Rust plugin for current rustup, sharing toolchain storage, and adopting .cargo/config. | |
| #1606812 Add plugin rust | snapcraft (launchpad) | closed | Rust plugin request implemented: snapcore/snapcraft#579 by ~sergiusens merged as commit 24f1def33, adding the Rust plugin. Launchpad ticket #1606812 closed once the plugin landed. | |
| #530 plugins/rust_plugin: rewrite the plugin to improve UX | craft-parts | merged | Merged via commit 939e6d77, rewriting the Rust plugin to install Rustup by default and adding LTO, toolchain-channel, and default-feature controls. |