← Back to issue list

rust plugin: update to use latest rustup command options

View original Github issue

Metadata

Project
snapcraft
Number
#2431
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged update to the Rust plugin replacing deprecated rustup command options with current equivalents. Approved by a reviewer, passed CI, modified five files, and maintained 94.5% test coverage.

Suggested action:

No scores available.

Issue body

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged update to the Rust plugin replacing deprecated rustup command options with current equivalents. Approved by a reviewer, passed CI, modified five files, and maintained 94.5% test coverage.
qwen3.6-35b-a3b-mtp-q6 Merged update to the Rust plugin replacing deprecated rustup command options with current syntax. Changes passed code review and achieved 94.5% test coverage.
qwen3.6-35b-a3b-mtp-q6 Merged the Rust plugin update to align with the latest rustup command options. The change passed code coverage checks at 94.5% and received maintainer approval.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2434 rust plugin: refactor to use the latest rustup snapcraft merged Merged Rust plugin refactor for latest rustup. Removed deprecated flags, added command qualifiers, established shared rustup/cargo directory, and standardized config. Approved and passed CI.
86%
#2438 rust plugin: new link for rustup snapcraft merged Merged into master after approval and passing CI. Updated the rust plugin to use a new rustup link, addressing LP #1662960. Modified 3 files with 11 additions and 6 deletions.
84%
#560 rust_plugin: multiple fixes craft-parts merged Merged Rust plugin fixes resolving issue #559. Changes remove unnecessary rust_channel override typing checks and improve compiler plugin identification and removal. Approved by reviewers and merged despite an unrelated CI pylint failure.
77%
#2538 rust plugin: fix usage of rust-channel snapcraft merged Merged PR #2538 fixes the Rust plugin by replacing the deprecated rustup.sh channel argument with rustup toolchain setup. Approved, passed CI, and merged to master.
77%
#530 plugins/rust_plugin: rewrite the plugin to improve UX craft-parts merged Merged a Rust plugin rewrite improving UX with default Rustup, LTO, toolchain version, and feature toggles. Failing tests for Ubuntu 20.04 Chisel support were resolved via a separate PR and rebasing prior to merge.
77%
#626 feat(rust_plugin): use `rustup` snap and more options craft-parts merged 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.
75%
#2170 rust plugin: fix cargo builds and run tests snapcraft merged Merged fixes for cargo builds in the Rust plugin along with new tests. The change updated two files with 41 additions and 10 deletions, achieving 100% diff coverage.
75%
#2767 rust plugin: add rustup profile snapcraft merged Merged. Updates the Rust plugin to enforce the minimal rustup profile, resolving build failures where clippy and rustfmt are unavailable. The implementation applies the minimal profile universally and includes updated unit tests.
75%
#1035 rust plugin: use the part source path snapcraft merged Merged after resolving a conflict with PR #1034 and completing a requested rebase. The rust plugin update uses the part source path, approved by one reviewer with unchanged 96.36% code coverage.
74%
#2613 rust plugin: use rust-toolchain by default if present snapcraft merged Merged. The Rust plugin now defaults to a rust-toolchain file if present, falling back to the stable channel. Approved by a reviewer and passed CI checks before merge.
74%