summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-05-31 22:49:47 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-06-12 14:18:01 +0100
commit375da3684e685c6fd8367ffcf37e090526d55e4d (patch)
treee88039718353952b915dcf84504e9770c8cc7150 /dev-haskell/yesod-test/yesod-test-1.6.14.ebuild
parentcargo.eclass: Drop EAPI 7 support (diff)
downloadgentoo-master.tar.gz
gentoo-master.tar.bz2
gentoo-master.zip
cargo.eclass: Enable cross-compiling by setting environment variablesHEADmaster
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>
Diffstat (limited to 'dev-haskell/yesod-test/yesod-test-1.6.14.ebuild')
0 files changed, 0 insertions, 0 deletions