New comment by biopsin on void-packages repository https://github.com/void-linux/void-packages/pull/33270#issuecomment-932858188 Comment: From what I could gather [[source](https://www.rohanjain.in/cargo-cross/)] and patching .cargo/config worked building locally for aarch64, but I really dont know this well. ``` --- a/.cargo/config 2021-10-03 05:24:36.000000000 +0200 +++ b/.cargo/config 2021-10-03 05:24:45.701091821 +0200 @@ -3,6 +3,12 @@ # In the distributed tarball, this file should end up in # rust/.cargo/config +[target.aarch64-unknown-linux-gnu] +linker = "aarch64-linux-gnu-gcc" + +[target.armv7-unknown-linux-gnueabihf] +linker = "arm-linux-gnueabihf-gcc" + [source.crates-io] registry = 'https://github.com/rust-lang/crates.io-index' replace-with = 'vendored-sources' ```