Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use distro provided rustup #505

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use distro provided rustup #505

wants to merge 1 commit into from

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Dec 4, 2024

This removes the need to download and run a shell script to set up the environment. The distro is instead trusted to provide a valid binary.

Fedora has a package called "rustup", but it really is just the rustup-init binary [1].

Additionally handle the behavior changes for rustup 1.28.0, which removes implicit toolchain installation but adds support for installing from rust-toolchain.toml.

@crawfxrd crawfxrd requested review from a team December 4, 2024 03:00
@crawfxrd
Copy link
Member Author

crawfxrd commented Dec 4, 2024

I suppose I should try to handle Debian Bookworm since it doesn't have rustup packaged.

This removes the need to download and run a shell script to set up the
environment. The distro is instead trusted to provide a valid binary.

Fedora has a package called "rustup", but it really is just the
rustup-init binary [1].

Additionally handle the behavior changes for rustup 1.28.0, which
removes implicit toolchain installation but adds support for installing
from `rust-toolchain.toml`.

[1]: https://src.fedoraproject.org/rpms/rustup

Signed-off-by: Tim Crawford <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant