build: LTO profile 'thin' and moved to Cargo.toml
Compare changes
Files
2+ 1
− 2
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.