mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-02 23:33:05 +00:00
Add Cargo config
This commit is contained in:
parent
5864f43ea2
commit
d603765079
1 changed files with 13 additions and 0 deletions
13
.cargo/config.toml
Normal file
13
.cargo/config.toml
Normal file
|
@ -0,0 +1,13 @@
|
|||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "clang"
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]
|
||||
|
||||
[build]
|
||||
rustflags = [
|
||||
"-C",
|
||||
"target-cpu=native",
|
||||
]
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
Loading…
Reference in a new issue