From: Ruben Beltran del Rio Date: Mon, 11 Mar 2024 22:25:45 +0000 (+0100) Subject: Add aarch64 X-Git-Tag: 7.0.0~35 X-Git-Url: https://git.r.bdr.sh/rbdr/blog/commitdiff_plain/f7f4335199beaad56d9c962ac84e92a3f78907a6?ds=sidebyside;hp=5c7a9258a11d387f33209e07ca7d3271ba8e2a06 Add aarch64 --- diff --git a/.cargo/config.toml b/.cargo/config.toml index 525e9b4..1b7c486 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,13 @@ [target.x86_64-unknown-linux-gnu] linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=lld"] +rustflags = [ + "-C", "link-arg=-fuse-ld=lld" + "-C", "link-arg=--target=x86_64-unknown-linux-gnu" +] + +[target.aarch64-unknown-linux-gnu] +linker = "clang" +rustflags = [ + "-C", "link-arg=-fuse-ld=lld", + "-C", "link-arg=--target=aarch64-unknown-linux-gnu" +]