mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 06:00:20 +00:00
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`.
This commit is contained in:
parent
dbd856de71
commit
e36bfa21ab
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
# 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`
|
# `brew install michaeleisel/zld/zld`
|
||||||
[target.x86_64-apple-darwin]
|
[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]
|
[target.aarch64-apple-darwin]
|
||||||
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"]
|
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"]
|
||||||
|
|
Loading…
Reference in a new issue