mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2025-04-19 03:24:42 -04:00
chore: disable zld linker
This commit is contained in:
parent
bb80fd5350
commit
08847fad1d
2 changed files with 2 additions and 20 deletions
|
@ -1,14 +0,0 @@
|
|||
[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=/usr/local/bin/zld"]
|
||||
|
||||
[target.aarch64-apple-darwin]
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld"]
|
|
@ -22,9 +22,9 @@ cargo install --version="~0.6" sqlx-cli --no-default-features --features rustls,
|
|||
|
||||
```bash
|
||||
# Ubuntu
|
||||
sudo apt-get install lld clang libssl-dev postgresql-client
|
||||
sudo apt-get install libssl-dev postgresql-client
|
||||
# Arch
|
||||
sudo pacman -S lld clang postgresql
|
||||
sudo pacman -S postgresql
|
||||
```
|
||||
|
||||
```
|
||||
|
@ -33,10 +33,6 @@ cargo install --version="~0.6" sqlx-cli --no-default-features --features rustls,
|
|||
|
||||
### MacOS
|
||||
|
||||
```bash
|
||||
brew install michaeleisel/zld/zld
|
||||
```
|
||||
|
||||
```
|
||||
cargo install --version="~0.6" sqlx-cli --no-default-features --features rustls,postgres
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue