generated from Patagia/template-nix
chore(build): add cargo config for mold linker
This commit is contained in:
parent
35aeb1a72c
commit
4aff939cb1
1 changed files with 8 additions and 0 deletions
|
@ -1,2 +1,10 @@
|
|||
[alias]
|
||||
xtask = "run --package xtask --quiet --"
|
||||
|
||||
[profile.dev]
|
||||
debug = 0
|
||||
strip = "debuginfo"
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "clang"
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=mold", "-C", "target-cpu=native"]
|
||||
|
|
Loading…
Reference in a new issue