diff --git a/Cargo.toml b/Cargo.toml index 030ea8fff17908e98e6e914cc2aafb4e3160b247..5608221182020d6843e4731b08b360a558d13ff5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,11 +55,8 @@ name = "app" test = false bench = false -[profile.dev] -incremental = false -codegen-units = 1 - [profile.release] +incremental = false # disable incremental build to allow lto on nightly codegen-units = 1 # better optimizations debug = true # symbols are nice and they don't increase the size on Flash lto = true # better optimizations