Skip to content

Commit

Permalink
Fix linking on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
SplittyDev committed Apr 10, 2024
1 parent 7f8f8cd commit 79d1627
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[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"]

0 comments on commit 79d1627

Please sign in to comment.