Skip to content

Commit

Permalink
chore: fix linker on x86 macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMathWalker committed Sep 9, 2024
1 parent 24c1c4d commit d0b1e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ rustflags = ["-C", "linker=clang", "-C", "link-arg=-fuse-ld=lld"]

# On MacOS, `brew install llvm` and follow steps in `brew info llvm`
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld64.lld"]
[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld"]

0 comments on commit d0b1e03

Please sign in to comment.