commit c6388caa7bf13213fe621fb8002efd5c0a535167
parent 6ae97448611dfb978655b05484f2f2ae8f0ea741
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 8 Oct 2023 00:31:12 +0200
Fix path to lld
Diffstat:
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/.cargo/config.toml b/.cargo/config.toml
@@ -9,16 +9,10 @@ rustflags = ["-Clink-arg=-fuse-ld=lld"]
# NOTE: you must install [Mach-O LLD Port](https://lld.llvm.org/MachO/index.html) on mac. you can easily do this by installing llvm which includes lld with the "brew" package manager:
# `brew install llvm`
[target.x86_64-apple-darwin]
-rustflags = [
- "-C",
- "link-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld64.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",
-]
+rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld64.lld"]
[target.x86_64-pc-windows-msvc]
-linker = "rust-lld.exe"
-\ No newline at end of file
+linker = "rust-lld.exe"