From 38154f61e7c39b81dae9f89e37602101a5b78478 Mon Sep 17 00:00:00 2001 From: Anthony Cicchetti Date: Sat, 21 Jan 2023 15:07:55 -0500 Subject: [PATCH] Use mold if possible, and checkmarks --- TODO.md | 2 +- playbooks/roles/rust/files/config | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index a0623a3..10f4949 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,3 @@ -❎ Use [Delta](https://github.com/dandavison/delta) +🗹 Use [Delta](https://github.com/dandavison/delta) ❎ Convert to [Home-Manager](https://github.com/rycee/home-manager) diff --git a/playbooks/roles/rust/files/config b/playbooks/roles/rust/files/config index 473f038..aeedffd 100644 --- a/playbooks/roles/rust/files/config +++ b/playbooks/roles/rust/files/config @@ -4,3 +4,7 @@ git-fetch-with-cli = true [profile.release] lto = true opt-level = 3 + +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]