aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-11 11:05:15 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-11 11:05:15 +0200
commitcd6adbd3c9994b837f3b52f5f5489078cfdaaa14 (patch)
tree042924d76d4b0bb5836d7255c34832a10a35d768
parent9074e360301dfdbb1e7845f8c5bb51158b8e0389 (diff)
downloaddatagengo-cd6adbd3c9994b837f3b52f5f5489078cfdaaa14.tar.gz
datagengo-cd6adbd3c9994b837f3b52f5f5489078cfdaaa14.zip
use mold linker
-rw-r--r--.cargo/config.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..d29d6c3
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,3 @@
+[target.x86_64-unknown-linux-gnu]
+linker = "clang"
+rustflags = ["-C", "link-arg=-fuse-ld=mold"]