diff --git a/Cargo.toml b/Cargo.toml index 2a47c06..05fcc4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,3 +10,10 @@ embedded-graphics = "0.8.1" tinygif = { version = "0.0.4", features = ["8k"] } uefi = { version = "0.28.0", features = ["global_allocator", "panic_handler", "alloc"] } uefi-graphics2 = "0.1.3" + +[profile.release] +strip = true +opt-level = "z" +lto = true +codegen-units = 1 +panic = "abort"