From: Ruben Beltran del Rio Date: Mon, 11 Mar 2024 22:37:43 +0000 (+0100) Subject: Set the aarch64 linker X-Git-Tag: 7.0.0~31 X-Git-Url: https://git.r.bdr.sh/rbdr/blog/commitdiff_plain/5080a41dec9423dceb43a5c7ded8b9e1ddc0817e?ds=sidebyside;hp=b47f9a3962a27fd28f69eda1c0f0fe7ab81fbf32 Set the aarch64 linker --- diff --git a/.build.yml b/.build.yml index 0b48cd6..7fd3f90 100644 --- a/.build.yml +++ b/.build.yml @@ -6,7 +6,6 @@ packages: - lld - rustup - aarch64-linux-gnu-gcc - - aarch64-linux-gnu-glibc sources: - git@git.sr.ht:~rbdr/blog secrets: diff --git a/.cargo/config.toml b/.cargo/config.toml index 8a25f4f..3556de1 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -6,7 +6,7 @@ rustflags = [ ] [target.aarch64-unknown-linux-gnu] -linker = "clang" +linker = "aarch64-linux-gnu-gcc" rustflags = [ "-C", "link-arg=-fuse-ld=lld", "-C", "link-arg=--target=aarch64-unknown-linux-gnu"