Browse Source

Enable link-time optimizations for the Rust build

Alex Kordys 3 years ago
parent
commit
4148196cd6
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Cargo.toml

+ 6 - 0
Cargo.toml

@@ -11,3 +11,9 @@ members = [
     "rust/privatetopublic",
     "rust/makekeys",
 ]
+
+[profile.release]
+lto = true
+opt-level = "z"
+codegen-units = 1
+panic = "abort"