build: LTO profile 'thin' and moved to Cargo.toml
Compare changes
Files
5@@ -29,11 +29,10 @@ use crate::Pallet;
@@ -52,6 +51,11 @@ benchmarks! {
@@ -81,6 +85,11 @@ benchmarks! {
It makes more sense to set the release LTO profile into the related Cargo.toml section than into the Dockerfile only.
Using LTO 'thin' profile because according to the documentation it is a good compromise with no or little performance loss.