← Back to issue list

rust plugin: split RUSTUP_HOME and CARGO_HOME

View original Github issue

Metadata

Project
snapcraft
Number
#2849
Type
pull request
State
merged
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

Merged Rust plugin changes decoupling RUSTUP_HOME and CARGO_HOME. Previously both defaulted to ~/.cargo, risking side effects. They now point to ~/.rustup and ~/.cargo respectively. Approved and passed CI.

Suggested action:

No scores available.

Issue body

RUSTUP_HOME is typically ~/.rustup CARGO_HOME is typically ~/.cargo They are both currently set to ~/.cargo. It has been reported that overlapping the two may have side effects. While I have not yet reproduced this, it's probably a good idea to decouple the two directories anyways. LP: #1852545 Signed-off-by: Chris Patterson <chris.patterson@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/)? - [ ] 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 Rust plugin changes decoupling RUSTUP_HOME and CARGO_HOME. Previously both defaulted to ~/.cargo, risking side effects. They now point to ~/.rustup and ~/.cargo respectively. Approved and passed CI.
qwen3.6-35b-a3b-mtp-q6 Merged changes to the Rust plugin that decouple RUSTUP_HOME and CARGO_HOME. RUSTUP_HOME now defaults to ~/.rustup instead of ~/.cargo, preventing potential side effects from overlapping directories per LP: #1852545.
qwen3.6-35b-a3b-mtp-q6 Merged Rust plugin changes decoupling RUSTUP_HOME and CARGO_HOME. RUSTUP_HOME now points to ~/.rustup instead of ~/.cargo to prevent directory overlap side effects, resolving LP #1852545.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.