From 08847fad1d98c0d3fd0db6fa8770190440567e84 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 5 May 2023 09:13:05 +0800 Subject: [PATCH] chore: disable zld linker --- .cargo/config.toml | 14 -------------- README.md | 8 ++------ 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index c2ac2b6b..00000000 --- a/.cargo/config.toml +++ /dev/null @@ -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"] diff --git a/README.md b/README.md index 41326b8f..6f969040 100644 --- a/README.md +++ b/README.md @@ -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 ```