Skip to content

Commit 24830a7

Browse files
committed
feat(cargo): Link using mold
Link the project using mold to speed up the linking stage. Signed-off-by: David Runge <[email protected]>
1 parent f5f4129 commit 24830a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[target.x86_64-unknown-linux-gnu]
2+
rustflags = ["-C", "link-arg=-fuse-ld=mold"]

0 commit comments

Comments
 (0)