gentoo-rust icon indicating copy to clipboard operation
gentoo-rust copied to clipboard

rustup: installing it via portage?

Open OwenChia opened this issue 8 years ago • 6 comments

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/

OwenChia avatar Jan 14 '17 13:01 OwenChia

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

suhr avatar Mar 03 '17 01:03 suhr

better support for cross-compilation?

OwenChia avatar Mar 03 '17 03:03 OwenChia

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.

rth avatar Dec 22 '18 14:12 rth

unstable compiler is dev-lang/rust-9999 or dev-lang/rust-bin-9999

o01eg avatar Dec 22 '18 18:12 o01eg

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.

waynr avatar Jan 06 '19 19:01 waynr

Any updates on this? @waynr

rust-bin-9999 doessn't exist 😕

theoparis avatar Mar 11 '24 04:03 theoparis