update & stuff

This commit is contained in:
Tao Tien 2024-02-14 23:35:51 -08:00
parent 61252a916e
commit d91a63e1ef
4 changed files with 20 additions and 17 deletions

View file

@ -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";