From 0a47a3661d2d537abbfe311338e47990fafe962a Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Sun, 29 Jan 2023 13:59:30 +0800 Subject: [PATCH] Use mold instead of lld --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 64e218a..e21bd8a 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,6 @@ [target.x86_64-unknown-linux-gnu] linker = "/usr/bin/clang" -rustflags = ["-Clink-arg=-fuse-ld=lld"] +rustflags = ["-Clink-arg=-fuse-ld=mold"] [target.x86_64-apple-darwin] rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld"]