From d527c14f040d4848c04b5ad08f6550a647b2f063 Mon Sep 17 00:00:00 2001 From: Erin Abicht Date: Thu, 20 Jul 2023 12:09:49 -0400 Subject: [PATCH] Release profile optimization --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 99e6752..e1a058b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,3 +19,7 @@ embassy-sync = { version = "0.2.0", git = "https://github.com/embassy-rs/embassy static_cell = { version = "1.1", features = ["nightly"]} nanorand = { version = "0.7.0", default-features = false, features = ["wyrand"] } tinyvec = "1.6.0" + +[profile.release] +lto = "fat" +codegen-units = 1