chore: disable zld linker
This commit is contained in:
parent
bb80fd5350
commit
08847fad1d
|
|
@ -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
|
```bash
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
sudo apt-get install lld clang libssl-dev postgresql-client
|
sudo apt-get install libssl-dev postgresql-client
|
||||||
# Arch
|
# 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
|
### MacOS
|
||||||
|
|
||||||
```bash
|
|
||||||
brew install michaeleisel/zld/zld
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
cargo install --version="~0.6" sqlx-cli --no-default-features --features rustls,postgres
|
cargo install --version="~0.6" sqlx-cli --no-default-features --features rustls,postgres
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue