Add custom profile with fat lto
This commit is contained in:
parent
10f75c9537
commit
9e11312d04
2 changed files with 5 additions and 1 deletions
|
@ -21,3 +21,7 @@ paste = "1.0.11"
|
||||||
serde = "1.0.152"
|
serde = "1.0.152"
|
||||||
serde_json = "1.0.91"
|
serde_json = "1.0.91"
|
||||||
ringbuf = "0.3.2"
|
ringbuf = "0.3.2"
|
||||||
|
|
||||||
|
[profile.release-lto]
|
||||||
|
inherits = "release"
|
||||||
|
lto = true
|
||||||
|
|
|
@ -17,7 +17,7 @@ build() {
|
||||||
cd ${_pkgbase}
|
cd ${_pkgbase}
|
||||||
|
|
||||||
# build binaries
|
# build binaries
|
||||||
cargo build --release
|
cargo build --profile release-lto
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in a new issue