Skip to content

Commit

Permalink
Revert "build(mac): brew install llvm -> lld (#18804)"
Browse files Browse the repository at this point in the history
This reverts commit 18604b2.
  • Loading branch information
StrikeW committed Oct 9, 2024
1 parent 4d53fae commit 8457c88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ rustflags = [
[target.x86_64-apple-darwin]
rustflags = [
"-Ctarget-feature=+sse4.2", # use a generally available feature, since it's not for production
"-Clink-arg=-fuse-ld=lld",
"-Clink-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld64.lld",
]

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

# Flags for all targets.
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/src/build-and-run/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
To install the dependencies on macOS, run:

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

Expand Down

0 comments on commit 8457c88

Please sign in to comment.