From 35d0f67812c62be053b5fe2b72c5fae1f11138c1 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 27 Mar 2026 15:31:42 +0300 Subject: [PATCH] chore: use clang only on `x86_64-unknown-linux-gnu` I don't want to configure cargo-cross tbh Signed-off-by: NotAShelf Change-Id: I749bc02bbdf8922fdf7a5904508b8af66a6a6964 --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index b7efcee..e989948 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,4 +1,4 @@ # https://github.com/rui314/mold?tab=readme-ov-file#how-to-use -[target.'cfg(target_os = "linux")'] +[target.x86_64-unknown-linux-gnu] linker = "clang" rustflags = ["-C", "link-arg=-fuse-ld=mold"]