optimizations!!!! woohoo!!
This commit is contained in:
parent
c186e8c50a
commit
20ac63c64e
3 changed files with 29 additions and 1 deletions
18
.cargo/config.toml
Normal file
18
.cargo/config.toml
Normal 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"
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue