Michal Rostecki f30ded34c4 dev-lang/rust: Add 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>
2025-10-10 20:29:36 +10:00
2025-10-03 02:13:46 +01:00
2025-10-03 02:13:47 +01:00
2025-09-02 20:00:14 +03:00
2025-09-22 23:55:33 +02:00
2025-09-02 20:00:14 +03:00
2025-10-09 18:11:57 +02:00
2025-10-09 08:00:46 +01:00
2025-09-02 20:00:14 +03:00
2025-10-09 22:47:12 +01:00
2025-09-25 20:04:08 +02:00
2025-09-25 08:54:31 +03:00
2025-09-02 20:00:14 +03:00
2025-10-08 19:28:38 +02:00
2025-09-02 20:00:14 +03:00
2025-09-07 10:07:17 +02:00
2025-10-09 04:17:20 +02:00
2025-09-22 15:58:47 +02:00
2025-10-03 05:56:34 +01:00
2025-09-24 02:29:40 +01:00
2025-10-08 20:40:33 +02:00
2025-09-02 20:00:14 +03:00
2025-10-09 21:43:23 +01:00
2025-10-09 18:12:01 +02:00
2025-10-03 02:09:31 +01:00
2025-10-02 11:27:44 +03:00
2025-10-10 11:01:31 +02:00
2025-10-09 18:11:36 +02:00
2025-10-10 00:01:58 +02:00
2025-09-02 20:00:14 +03:00
2025-09-02 20:00:14 +03:00
2025-10-07 13:06:54 +02:00
2025-10-09 18:12:02 +02:00
2025-10-06 04:14:57 +01:00
2025-09-06 16:29:54 +01:00
2025-10-08 17:29:23 +02:00
2025-09-02 20:00:14 +03:00
2025-10-08 20:40:33 +02:00
2025-10-07 03:46:29 +01:00
2025-10-05 04:16:44 +02:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%