From 8d9a5b12760eab5ef8e5c5c903945beef9656f23 Mon Sep 17 00:00:00 2001 From: Joshua Simmons Date: Mon, 5 Sep 2022 23:35:59 +0200 Subject: [PATCH] Avoid hardcoding the path to the mold linker --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 2c3dbcd..5c0c649 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,3 +1,3 @@ [target.x86_64-unknown-linux-gnu] linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] \ No newline at end of file +rustflags = ["-C", "link-arg=-fuse-ld=mold"] \ No newline at end of file -- 2.49.0