faster bevy compile with mold and nightly rustc
This commit is contained in:
6
.cargo/config.toml
Normal file
6
.cargo/config.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "clang"
|
||||
rustflags = [
|
||||
"-C", "link-arg=-fuse-ld=mold", # Link using mold
|
||||
"-Zshare-generics=y" # (Nightly) Make the current crate share its generic instantiations
|
||||
]
|
Reference in New Issue
Block a user