From 411b997b878670636dd867d2fd0a33209e9fdc49 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 9 Jan 2025 04:08:24 -0800 Subject: [PATCH] use mold linker because it's faster --- .cargo/config.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 8b662bc..8ab91a2 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,6 @@ [registries.strafesnet] -index = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/" \ No newline at end of file +index = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/" + +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]