You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
341 B
10 lines
341 B
Install to /usr/lib/rust/<ver>
|
|
|
|
ver=<ver>
|
|
cp /usr/lib/rust/$ver/bin/{rustc,rustc-$ver}
|
|
ln -s /usr/lib/rust/$ver/bin/rustc-$ver /usr/bin/rustc-$ver
|
|
touch /etc/env.d/rust/provider-rust-$ver
|
|
emerge -1 app-eselect/eselect-rust
|
|
eselect rust set rust-$ver
|
|
emerge -O1 dev-lang/rust
|
|
(might need to set CC=clang and CXX=clang++ for initial build...)
|
|
|