From ccdeeaab82b2045124e9ed773f04dc0593a352f4 Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Wed, 13 Sep 2023 09:53:16 +0200 Subject: [PATCH] Update linker configuration for macs --- .cargo/config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index c2ac2b6..311a8a9 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -8,7 +8,7 @@ rustflags = ["-C", "link-arg=-fuse-ld=lld"] rustflags = ["-C", "link-arg=-fuse-ld=lld"] [target.x86_64-apple-darwin] -rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld"] +rustflags = ["-C", "link-arg=-fuse-ld=lld"] [target.aarch64-apple-darwin] -rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld"] +rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld"] \ No newline at end of file