![Arnout Vandecappelle (Essensium/Mind)](/assets/img/avatar_default.png)
The cargo config file is much like the cmake and meson configuration files, something that tells the cargo build system how the cross-toolchain is configured. It is currently installed by the cargo package, but this package is about to be removed as cargo is now built as part of rust itself. Therefore, install the cargo config file as a toolchain post-install hook, just like we do for cmake and meson. However, we don't have a pkg-cargo infrastructure (yet) so we can't put it there. Therefore, put it in the rustc package - any cargo package will need rustc. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: David Pierret <david.pierret@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 lines
58 B
Plaintext
3 lines
58 B
Plaintext
[target.@RUSTC_TARGET_NAME@]
|
|
linker = "@CROSS_PREFIX@gcc"
|