James Le Cuirot 375da3684e cargo.eclass: Enable cross-compiling by setting environment variables
CARGO_BUILD_TARGET and CARGO_TARGET_<triple>_LINKER are enough for pure
Rust. The linker otherwise defaults to `cc`. This doesn't respect any
linker specified in LDFLAGS, but this is also true for native builds. We
would need to do something with RUSTFLAGS.

The HOST_* variables are for the cc-rs crate, which is often used to
build non-Rust code. It uses the usual variables (CC, CFLAGS, etc) for
the target.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2024-06-12 14:18:01 +01:00
2024-06-07 16:31:20 +03:00
2024-06-11 21:42:57 +01:00
2024-06-09 14:54:37 -04:00
2024-06-12 05:58:18 +01:00
2024-06-11 09:01:01 +03:00
2024-06-11 21:50:25 +02:00
2024-06-12 14:17:59 +01:00
2024-06-09 13:35:54 +01:00
2024-06-08 15:02:25 +03:00
2024-06-12 02:39:31 +01:00
2024-06-08 14:16:12 -04:00
2024-06-10 13:30:35 +03:00
2024-06-11 09:09:15 +03:00
2024-06-02 05:02:07 +01:00
2024-05-31 16:58:40 +02:00
2024-06-08 10:31:40 +01:00
2024-06-11 06:58:35 -05:00
2024-06-12 13:29:34 +03:00
2024-06-12 09:22:12 +03:00
2024-06-12 06:03:05 +01:00
2024-06-09 21:03:31 +01:00
2024-06-03 23:15:04 +02:00
2024-06-12 07:29:50 +00:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%