Skip to content

Commit

Permalink
Use mold linker.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Vogel committed Sep 21, 2023
1 parent 3e732a6 commit db279e4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]

[build]
rustflags = ["-Csplit-debuginfo=off"]

0 comments on commit db279e4

Please sign in to comment.