Add custom profile with fat lto

This commit is contained in:
hodasemi 2023-01-30 15:12:04 +01:00
parent 17cd3b2df8
commit 5d25bad6c6
2 changed files with 5 additions and 1 deletions

View file

@ -21,3 +21,7 @@ paste = "1.0.11"
serde = "1.0.152"
serde_json = "1.0.91"
ringbuf = "0.3.2"
[profile.release-lto]
inherits = "release"
lto = true

View file

@ -17,7 +17,7 @@ build() {
cd ${_pkgbase}
# build binaries
cargo build --release
cargo build --profile release-lto
}
package() {