Skip to content

Commit 8457c88

Browse files
committed
Revert "build(mac): brew install llvm -> lld (#18804)"
This reverts commit 18604b2.
1 parent 4d53fae commit 8457c88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.cargo/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ rustflags = [
2020
[target.x86_64-apple-darwin]
2121
rustflags = [
2222
"-Ctarget-feature=+sse4.2", # use a generally available feature, since it's not for production
23-
"-Clink-arg=-fuse-ld=lld",
23+
"-Clink-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld64.lld",
2424
]
2525

2626
[target.aarch64-apple-darwin]
2727
rustflags = [
2828
# neon is enabled by default
29-
"-Clink-arg=-fuse-ld=lld",
29+
"-Clink-arg=-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld",
3030
]
3131

3232
# Flags for all targets.

docs/dev/src/build-and-run/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
To install the dependencies on macOS, run:
88

99
```shell
10-
brew install postgresql cmake protobuf tmux cyrus-sasl lld openssl@3
10+
brew install postgresql cmake protobuf tmux cyrus-sasl llvm openssl@3
1111
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
1212
```
1313

0 commit comments

Comments
 (0)