From: Ruben Beltran del Rio Date: Sun, 26 Jan 2025 00:36:22 +0000 (+0100) Subject: Configure linker for aarch64 cross-compile X-Git-Tag: 1.0.1~7 X-Git-Url: https://git.r.bdr.sh/rbdr/olden-mail/commitdiff_plain/13bd0f04002b606336f99135f65bcf3bd388b1cc?ds=inline Configure linker for aarch64 cross-compile --- diff --git a/Cargo.toml b/Cargo.toml index 1205d33..7aa36fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,3 +33,7 @@ assets = [ [lints.clippy] pedantic = "warn" + +[target.aarch64-unknown-linux-gnu] +linker = "aarch64-linux-gnu-gcc" +rustflags = ["-C", "link-arg=-fuse-ld=lld"]