Install this package:
emerge -a dev-lang/rust
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.96.0 | 8 | ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 | 1.96.0 |
<pkgmetadata> <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="mrustc-bootstrap">Use <pkg>dev-lang/mrustc</pkg> to build the bootstrap Rust sysroot from this package's source</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="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="rustfmt">Install rustfmt, Rust code formatter</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.96.0 |
|---|---|---|
| "${ALL_LLVM_TARGETS[@]/llvm_targets_/llvm_targets_}" | ⚠️ | ✓ |
| "${ALL_RUST_SYSROOTS[@]/rust_sysroots_/rust_sysroots_}" | ⚠️ | ✓ |
| "( | ⚠️ | ✓ |
| ( | ⚠️ | ✓ |
| ) | ⚠️ | ✓ |
| )" | ⚠️ | ✓ |
| 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) | ✓ |
| 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-llvm | Use the system LLVM installation | ⊕ |
| test | Build and run the upstream test suite (requires dbus-test-runner) ⚠️ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | rust-patches-1.96.0_beta20260421.tar.bz2 | 3001 bytes | 1.96.0 |
| DIST | rustc-1.96.0-src.tar.xz | 241429160 bytes | 1.96.0 |
| DIST | rustc-1.96.0-src.tar.xz.asc | 801 bytes | 1.96.0 |
| Type | File | Size |
|---|