bevy fast compilation

This commit is contained in:
Henri Bourcereau 2023-10-31 17:12:02 +01:00
parent 12f9b843ff
commit 9e48c3be1d
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,3 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]

View file

@ -9,6 +9,9 @@
pkgs.alsaLib
pkgs.udev
# bevy fast compile
pkgs.clang pkgs.lld
# copié de https://github.com/mmai/Hyperspeedcube/blob/develop/devenv.nix
# TODO : retirer ce qui est inutile
# pour erreur à l'exécution, selon https://github.com/emilk/egui/discussions/1587