From e36bfa21ab4ea3e771c6bafc4149ff22c936d777 Mon Sep 17 00:00:00 2001 From: Matt Wilkinson Date: Tue, 17 May 2022 16:00:17 +0000 Subject: [PATCH] Change path to zld on MacOS fast build example (#4778) # Objective Fixes #4751, zld link error. ## Solution - Change the `zld` file path in the example to the one homebrew installs to by default, `/usr/local/bin/zld`. --- .cargo/config_fast_builds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config_fast_builds b/.cargo/config_fast_builds index 4d1ff9c1e3..cfbcd697c8 100644 --- a/.cargo/config_fast_builds +++ b/.cargo/config_fast_builds @@ -10,7 +10,7 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"] # NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager: # `brew install michaeleisel/zld/zld` [target.x86_64-apple-darwin] -rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"] +rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"] [target.aarch64-apple-darwin] rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"]