Skip to content

Commit e36bfa2

Browse files
author
Matt Wilkinson
committed
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`.
1 parent dbd856d commit e36bfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cargo/config_fast_builds

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
1010
# NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager:
1111
# `brew install michaeleisel/zld/zld`
1212
[target.x86_64-apple-darwin]
13-
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"]
13+
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
1414

1515
[target.aarch64-apple-darwin]
1616
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"]

0 commit comments

Comments
 (0)