enable lto for release builds (#10717)
This commit is contained in:
parent
faf6f1f9ea
commit
44161874ff
@ -119,8 +119,13 @@ name = "parity"
|
||||
|
||||
[profile.dev]
|
||||
|
||||
[profile.test]
|
||||
lto = false
|
||||
opt-level = 3 # makes tests slower to compile, but faster to run
|
||||
|
||||
[profile.release]
|
||||
debug = false
|
||||
lto = true
|
||||
|
||||
[workspace]
|
||||
# This should only list projects that are not
|
||||
|
@ -6,7 +6,7 @@ set -e # fail on any error
|
||||
set -u # treat unset variables as error
|
||||
|
||||
FEATURES="json-tests,ci-skip-tests"
|
||||
OPTIONS="--release"
|
||||
OPTIONS=""
|
||||
#use nproc `linux only
|
||||
THREADS=$(nproc)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user