From ea98cf602b5f0c1692d0dbcaea0c35060ed35391 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sun, 23 Mar 2025 16:07:59 +0100 Subject: ci: add caching, use mold for linking --- .cargo/config.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.cargo') diff --git a/.cargo/config.toml b/.cargo/config.toml index e0aa01f..80a170c 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,9 +2,9 @@ lint = "clippy --no-deps -- -D warnings" lint-all = "clippy --no-deps -- -D clippy::pedantic" -# [target.x86_64-unknown-linux-gnu] -# linker = "clang" -# rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=mold"] # [build] # rustflags = ["-Z", "threads=6"] -- cgit v1.2.3