mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
f30ded34c4c08befbbfed980f64c67230a366f83
RUST_SYSROOTS as USE_EXPAND variable
Add a new `USE_EXPAND` variable called `RUST_SYSROOTS` which allows to specify additional Rust sysroots to build. Rust sysroot is a directory which contains the prebuilt standard libraries (in form of `*.rlib` files) and utility binaries (e.g. `rust-objcopy`). This variable is limited to bare metal targets. Sysroot for targets not falling into that category contain a local copy of compiler runtime, libc and unwinder, so crossdev is a better fit for them. In this change, the only `RUST_SYSROOT` option is `wasm`, which enables build of a sysroot for `wasm32-unknown-unknown` target and replaces the former `wasm` USE flag. Signed-off-by: Michal Rostecki <vadorovsky@protonmail.com> Signed-off-by: Matt Jolly <kangie@gentoo.org>
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.3%
Emacs Lisp
0.2%
C
0.1%