From ba8e07e0d3f8a7e0134ee078f4097c3643d171a8 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"]