update & stuff
This commit is contained in:
parent
61252a916e
commit
d91a63e1ef
4 changed files with 20 additions and 17 deletions
|
|
@ -68,15 +68,18 @@
|
|||
[provile.dev]
|
||||
debug = 0
|
||||
strip = "debuginfo"
|
||||
lto = "off"
|
||||
codegen-backend = "cranelift"
|
||||
|
||||
[profile.release]
|
||||
incremental = true
|
||||
codegen-units = 1
|
||||
lto = "fat"
|
||||
|
||||
[target.x86-unknown-linux-musl]
|
||||
# linker = "musl-gcc"
|
||||
# linker = "clang"
|
||||
rustflag = ["-C", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
|
||||
rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
|
||||
'';
|
||||
|
||||
home.username = "tao";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue