use gold linker instead of cc which is rust default for linux, which increases Compilcation by about 30%

This commit is contained in:
Marcel Märtens 2019-11-21 14:11:22 +01:00
parent 4123de5842
commit b44792c83d

4
.cargo/config Normal file
View File

@ -0,0 +1,4 @@
[target.x86_64-unknown-linux-gnu]
rustflags = [
"-C", "link-arg=-fuse-ld=gold",
]