optimizations!!!! woohoo!!

This commit is contained in:
Schrottkatze 2024-11-22 21:25:34 +01:00
parent c186e8c50a
commit 20ac63c64e
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
3 changed files with 29 additions and 1 deletions

18
.cargo/config.toml Normal file
View file

@ -0,0 +1,18 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = [
"-C", "link-arg=-fuse-ld=mold",
# (Nightly) Make the current crate share its generic instantiations
"-Zshare-generics=y",
]
[unstable]
codegen-backend = true
[profile.dev]
codegen-backend = "cranelift"
[profile.dev.package."*"]
codegen-backend = "llvm"