From b44792c83d5232fd72c34567a53f393597dce35f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=A4rtens?= Date: Thu, 21 Nov 2019 14:11:22 +0100 Subject: [PATCH] use gold linker instead of cc which is rust default for linux, which increases Compilcation by about 30% --- .cargo/config | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .cargo/config diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000000..ac018fb4e6 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,4 @@ +[target.x86_64-unknown-linux-gnu] +rustflags = [ + "-C", "link-arg=-fuse-ld=gold", +]