← 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 PR #2431 updated the Rust plugin to use current rustup options instead of deprecated commands; landed as commit 3e821ca8d.

Resolution: closed resolved

Reason: PR #2431 was approved and merged as commit 3e821ca8d, titled “rust plugin: refactor to use the latest rustup.”

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #2431 updated the Rust plugin to use current rustup options instead of deprecated commands; landed as commit 3e821ca8d.
stealth/space-bunny-alpha — closed resolved Merged PR #2431 updated the Rust plugin to use current rustup options instead of deprecated commands.
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.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1467 rust plugin: new rustup snapcraft closed Updated the Rust plugin’s outdated rustup download link via merged PR #2438 (commit ea6caa72b), resolving LP bug #1662960.
86%
#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.
86%
#2438 rust plugin: new link for rustup snapcraft merged Merged PR #2438 (commit ea6caa72b) updating the Rust plugin's rustup download link, fixing LP bug #1662960 where the plugin used an outdated rustup URL.
83%
#1809259 Rust plugin broke in the last few days snapcraft (launchpad) closed Merged PR #2431 updated the Rust plugin to use current rustup options, fixing builds that failed on the obsolete --prefix argument.
80%
#2538 rust plugin: fix usage of rust-channel snapcraft merged Merged PR #2538 fixed Rust plugin toolchain setup by using rustup instead of the obsolete rustup.sh --channel argument; resolving commit: 4eb089546.
77%
#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.
73%
#1562 Record rust versions snapcraft merged Merged as commit 1ddc34f19, updating the Rust plugin to record rustup, rustc, and Cargo versions; this completed the versioning portion of #1475.
72%
#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.
72%
#2613 rust plugin: use rust-toolchain by default if present snapcraft merged Merged PR #2613 in commit 374f042a5, making the Rust plugin use a source rust-toolchain file by default and fall back to stable only when no explicit setting is supplied.
72%
#1681 docs: update reference for the rust plugin craft-parts merged Merged PR #1681 (commit e66bea2f) updated Rust plugin docs for current behavior, resolving outdated dependency guidance, rust-channel defaults, and provisioning details in #912 and #593.
71%