gentoo-rust
gentoo-rust copied to clipboard
rustup: installing it via portage?
Rustup is the recommended method of installation now, should we write a ebuild for it like archlinux?
More: https://www.reddit.com/r/rust/comments/4inmpb/lets_talk_about_rustuprs/ https://www.archlinux.org/packages/community/x86_64/rustup/
Is there a reason not to install it via portage?
UPDATE: the reason actually exists: https://github.com/rust-lang-nursery/rustup.rs/issues/953
better support for cross-compilation?
Is there a reason not to install it via portage?
It is also unclear how to optionally get the unstable compiler (needed for some features) that is very straightforward with rustup
.
unstable compiler is dev-lang/rust-9999 or dev-lang/rust-bin-9999
UPDATE: the reason actually exists: rust-lang/rustup.rs#953
It looks like there is a way to work around this that should be simple to integrate into a portage-installed rustup: https://github.com/rust-lang/rustup.rs/issues/953#issuecomment-318650338
You can bypass the check by setting RUSTUP_INIT_SKIP_PATH_CHECK to yes:
I'm about to switch over to gentoo from debian and would be happy to take this issue on as my first contribution to the community.
Any updates on this? @waynr
rust-bin-9999 doessn't exist 😕