Skip to content

Commit 03c85fa

Browse files
Matt Wilkinsonexjam
Matt Wilkinson
authored andcommitted
Change path to zld on MacOS fast build example (bevyengine#4778)
# Objective Fixes bevyengine#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 53d922d commit 03c85fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cargo/config_fast_builds

Lines changed: 1 addition & 1 deletion
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)