Install this package:
emerge -a dev-lang/rust
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-lang/rust
Or alternatively:
emerge --autounmask-write -a dev-lang/rust
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.79.0-r99 | 8 | ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 | 1.79.0-r99 |
<pkgmetadata> <maintainer type="person" proxied="yes"> <email>randy@electronsweatshop.com</email> <name>Randy Barlow</name> </maintainer> <maintainer type="person" proxied="yes"> <email>navi@vlhl.dev</email> <name>Anna Figueiredo Gomes</name> </maintainer> <maintainer type="person" proxied="yes"> <email>matoro_gentoo@matoro.tk</email> <name>Matoro Mahri</name> </maintainer> <maintainer type="project"> <email>rust@gentoo.org</email> <name>Rust Project</name> </maintainer> <use> <flag name="clippy">Install clippy, Rust code linter</flag> <flag name="dist">Install dist tarballs (used for bootstrapping)</flag> <flag name="miri">Install miri, an interpreter for Rust's mid-level intermediate representation (requires USE=nightly, sometimes is broken)</flag> <flag name="nightly">Enable nightly (UNSTABLE) features (NOTE: it does not install nightly version, just enables features marked as nightly at time of release)</flag> <flag name="parallel-compiler">Build a multi-threaded rustc (experimental, not tested by upstream)</flag> <flag name="rustfmt">Install rustfmt, Rust code formatter</flag> <flag name="rust-analyzer">Install rust-analyzer, A Rust compiler front-end for IDEs (language server)</flag> <flag name="rust-src">Install rust-src, needed by developer tools and for build-std (cross)</flag> <flag name="system-bootstrap">Bootstrap using installed rust compiler</flag> <flag name="system-llvm">Use the system LLVM installation</flag> <flag name="wasm">Build support for the wasm32-unknown-unknown target</flag> </use> <upstream> <remote-id type="github">rust-lang/rust</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-lang/rust |
euse -E <flag> -p dev-lang/rust |
euse -D <flag> -p dev-lang/rust
| Flag | Description | 1.79.0-r99 |
|---|---|---|
| ${ALL_LLVM_TARGETS[*]} | ⚠️ | ✓ |
| big-endian | ⚠️ | ✓ |
| clippy | Install clippy, Rust code linter | ✓ |
| cpu_flags_x86_sse2 | ⚠️ | ✓ |
| debug | ⚠️ | ✓ |
| dist | Install dist tarballs (used for bootstrapping) | ✓ |
| doc | ⚠️ | ✓ |
| llvm-libunwind | ⚠️ | ✓ |
| lto | ⚠️ | ✓ |
| miri | Install miri, an interpreter for Rust's mid-level intermediate representation (requires USE=nightly, sometimes is broken) | ✓ |
| nightly | Enable nightly (UNSTABLE) features (NOTE: it does not install nightly version, just enables features marked as nightly at time of release) | ✓ |
| parallel-compiler | Build a multi-threaded rustc (experimental, not tested by upstream) | ✓ |
| rust-analyzer | Install rust-analyzer, A Rust compiler front-end for IDEs (language server) | ✓ |
| rust-src | Install rust-src, needed by developer tools and for build-std (cross) | ✓ |
| rustfmt | Install rustfmt, Rust code formatter | ✓ |
| system-bootstrap | Bootstrap using installed rust compiler | ✓ |
| system-llvm | Use the system LLVM installation | ✓ |
| test | ⚠️ | ✓ |
| wasm | Build support for the wasm32-unknown-unknown target | ✓ |
| Type | File | Size | Versions |
|---|
| Type | File | Size |
|---|---|---|
| AUX | 1.62.1-musl-dynamic-linking.patch | 898 bytes |
| AUX | 1.67.0-doc-wasm.patch | 1359 bytes |
| AUX | 1.70.0-ignore-broken-and-non-applicable-tests.patch | 1029 bytes |
| AUX | 1.71.1-fix-bootstrap-version-comparison.patch | 1282 bytes |
| AUX | 1.72.0-bump-libc-deps-to-0.2.146.patch | 5106 bytes |
| AUX | 1.74.1-cross-compile-libz.patch | 720 bytes |
| AUX | 1.75.0-handle-vendored-sources.patch | 1786 bytes |
| AUX | 1.75.0-musl-dynamic-linking.patch | 639 bytes |
| AUX | 1.76.0-loong-code-model.patch | 3139 bytes |
| AUX | 1.78.0-ignore-broken-and-non-applicable-tests.patch | 1035 bytes |
| AUX | 1.78.0-musl-dynamic-linking.patch | 649 bytes |
| AUX | 1.79.0-revert-8c40426.patch | 716 bytes |
| AUX | 1.81.0-backport-bug937164.patch | 539 bytes |
| AUX | 1.81.0-backport-llvm-pr101761.patch | 1171 bytes |
| AUX | 1.81.0-backport-llvm-pr101766.patch | 1247 bytes |
| AUX | 1.82.0-i586-baseline.patch | 1818 bytes |
| DIST | rust-1.78.0-aarch64-unknown-linux-gnu.tar.xz | 223523772 bytes |
| DIST | rust-1.78.0-aarch64-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-aarch64-unknown-linux-musl.tar.xz | 204806408 bytes |
| DIST | rust-1.78.0-aarch64-unknown-linux-musl.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-arm-unknown-linux-gnueabi.tar.xz | 188301776 bytes |
| DIST | rust-1.78.0-arm-unknown-linux-gnueabi.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-arm-unknown-linux-gnueabihf.tar.xz | 188746984 bytes |
| DIST | rust-1.78.0-arm-unknown-linux-gnueabihf.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-armv7-unknown-linux-gnueabihf.tar.xz | 194117584 bytes |
| DIST | rust-1.78.0-armv7-unknown-linux-gnueabihf.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-i686-unknown-linux-gnu.tar.xz | 219666344 bytes |
| DIST | rust-1.78.0-i686-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-loongarch64-unknown-linux-gnu.tar.xz | 170256096 bytes |
| DIST | rust-1.78.0-loongarch64-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-powerpc-unknown-linux-gnu.tar.xz | 183422544 bytes |
| DIST | rust-1.78.0-powerpc-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-powerpc64-unknown-linux-gnu.tar.xz | 181366112 bytes |
| DIST | rust-1.78.0-powerpc64-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-powerpc64le-unknown-linux-gnu.tar.xz | 192130524 bytes |
| DIST | rust-1.78.0-powerpc64le-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-riscv64gc-unknown-linux-gnu.tar.xz | 194762504 bytes |
| DIST | rust-1.78.0-riscv64gc-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-s390x-unknown-linux-gnu.tar.xz | 207632244 bytes |
| DIST | rust-1.78.0-s390x-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-x86_64-unknown-linux-gnu.tar.xz | 163959816 bytes |
| DIST | rust-1.78.0-x86_64-unknown-linux-gnu.tar.xz.asc | 801 bytes |
| DIST | rust-1.78.0-x86_64-unknown-linux-musl.tar.xz | 245914600 bytes |
| DIST | rust-1.78.0-x86_64-unknown-linux-musl.tar.xz.asc | 801 bytes |
| DIST | rustc-1.79.0-src.tar.xz | 162359512 bytes |
| DIST | rustc-1.79.0-src.tar.xz.asc | 801 bytes |
| EBUILD | rust-1.79.0-r99.ebuild | 26286 bytes |
| MISC | metadata.xml | 1787 bytes |