From 12c2f9d1b3d7fdb480787c429111ac1dedb3baa9 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Thu, 21 Mar 2024 22:00:35 +0000 Subject: [PATCH] feat: mold+clang when compiling --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..737a52c --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,3 @@ +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=--ld-path=mold"]