From d8da2218a4879a2c3591e46d496f2099f7785506 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 27 Mar 2026 16:28:26 +0300 Subject: [PATCH] ci: use mold globally; drop clang linker Signed-off-by: NotAShelf Change-Id: Iadb9cd4ce33acdd2de585a740ac72da86a6a6964 --- .cargo/config.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index e989948..c7125dc 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,4 +1,3 @@ # https://github.com/rui314/mold?tab=readme-ov-file#how-to-use -[target.x86_64-unknown-linux-gnu] -linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=mold"] +[target.'cfg(target_os = "linux")'] +rustflags = [ "-C", "link-arg=-fuse-ld=mold" ]