-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zld archived #192
Comments
# On MacOS, `brew install llvm` and fix .zshrc
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"] This worked for me. |
Nvm, this did not work when running This did: # On MacOS, `brew install llvm` and fix .zshrc
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld"]
[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld"] Also works in terminal. |
My intel macbook needed:
you're on arch right @JonasKs? |
M1, yeah. The setup you use works through terminal for me, but not through PyCharm. Under "Using LLD" pointing to
|
I think the path where |
The lld64.lld failed for me at least 👍 |
So this should solve it for both? 😊 # On MacOS, `brew install llvm` and follow steps in `brew info llvm`
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld"] |
Hi @JonasKs , thanks for sharing. That works for M2 as well. |
https://github.com/michaeleisel/zld
Seems like this should be replaced with
lld
for macOS now.The text was updated successfully, but these errors were encountered: