|
Bugzilla – Full Text Bug Listing |
| Summary: | patch:openSUSE-SLE-15.5-2023-2603-1.noarch wants to deinstall installed rust packages | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Stephan Hemeier <Sauerlandlinux> |
| Component: | Maintenance | Assignee: | William Brown <william.brown> |
| Status: | RESOLVED WORKSFORME | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | arvidjaar, meissner |
| Version: | Leap 15.5 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Stephan Hemeier
2023-07-06 17:22:21 UTC
Same behavior on Leap 15.4 and 15.5. let me refer to William our rust maintainer. > Or is it wanted to not use rustup with installed rust and cargo packages?
Correct - rustup contains links to /usr/bin/rustc and /usr/bin/cargo which are proxy binaries to the true rust instances that rustup creates in your home dir. This is how packaged rustup avoids you needing to change your shell environment, and also avoids needing "rustup init" to install it's own proxies.
So as a result, it is intended that you choose either rustup OR rust/cargo from packages.
Generally it's also down to situation too. The role of these packages is different:
* rustup - you are a developer who wants to compile and build rust applications, and have access to IDE integrations
* cargo/rust - you are building packages and want to target the "latest" system rust toolchain.
So you should choose which one you install based on your use case in this situation.
Thanks for clarification. No problem. Let me know if you have any other issues. |