Use clang+mold on linux (#12944)
Takes a clean build on my machine from 222s to 185s Release Notes: - N/A
This commit is contained in:
parent
8451dba6a7
commit
ec086945fc
2 changed files with 8 additions and 0 deletions
|
@ -4,3 +4,7 @@ rustflags = ["-C", "symbol-mangling-version=v0", "--cfg", "tokio_unstable"]
|
|||
|
||||
[alias]
|
||||
xtask = "run --package xtask --"
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "/usr/bin/clang"
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue