Selaa lähdekoodia

cargo: enable optimizations for release profile

Lennart Braun 2 vuotta sitten
vanhempi
commit
c40d5eed8c
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      Cargo.toml

+ 5 - 0
Cargo.toml

@@ -10,3 +10,8 @@ members = [
 
 [profile.bench]
 debug = 2
+
+[profile.release]
+lto = "fat"
+codegen-units = 1
+panic = "abort"