From 68582d6054381ea6db6d068a446bee02cc6c47db Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Tue, 9 Sep 2025 13:46:25 -0400 Subject: [PATCH] configure cargo to use mold as its liknker --- dot_cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 dot_cargo/config.toml diff --git a/dot_cargo/config.toml b/dot_cargo/config.toml new file mode 100644 index 0000000..0be88bf --- /dev/null +++ b/dot_cargo/config.toml @@ -0,0 +1,4 @@ +[target.'cfg(target_os = "linux")'] +linker = "clang" +rustflags = ["-C", "link-arg=--ld-path=/home/joe/.local/share/mise/shims/mold"] +