mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2025-03-30 14:49:37 +00:00
Brew now separates the lld and llvm installs, so you need to `brew install lld` and update the directory to the lld directory from llvm.
14 lines
433 B
TOML
14 lines
433 B
TOML
[target.x86_64-unknown-linux-gnu]
|
|
rustflags = ["-C", "linker=clang", "-C", "link-arg=-fuse-ld=lld"]
|
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
|
|
[target.x86_64-pc-windows-gnu]
|
|
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
|
|
|
[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/lld/bin/ld64.lld"]
|