diff options
| author | Hilton Chain <hako@ultrarare.space> | 2025-04-22 20:21:30 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-08-21 19:08:21 +0800 |
| commit | 4e8eab6fe433ada4717250b4a682c4a8c79ced3e (patch) | |
| tree | 87f8cbf8834ba9bdd4c62ea5050d11486be8dcc0 /Makefile.am | |
| parent | 765a369c5e25484bb47934ec65989e27859ef80e (diff) | |
build/cargo: Accept rust-sysroot from native-inputs.
This is a workaround to support Rust cross-compilation in build systems other
than cargo-build-system. Since there's no interface for target-inputs, using
native-inputs makes most sense.
* guix/build-system/cargo.scm (lower)[bag]<target-inputs>: Label rust-sysroot
with its package name.
* guix/build/cargo-build-system.scm (configure): Use it.
When cross-compiling, accept rust-sysroot from native-inputs if there's none
in inputs.
Change-Id: I5cb63c8c815d3a2c9f0ece01857254f6d0090dd1
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions
