Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit f7dae48

Browse files
authored
Revert "enable lto for release builds (#10717)" (#10721)
This reverts commit 4416187.
1 parent 4416187 commit f7dae48

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,8 @@ name = "parity"
119119

120120
[profile.dev]
121121

122-
[profile.test]
123-
lto = false
124-
opt-level = 3 # makes tests slower to compile, but faster to run
125-
126122
[profile.release]
127123
debug = false
128-
lto = true
129124

130125
[workspace]
131126
# This should only list projects that are not

scripts/gitlab/test-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e # fail on any error
66
set -u # treat unset variables as error
77

88
FEATURES="json-tests,ci-skip-tests"
9-
OPTIONS=""
9+
OPTIONS="--release"
1010
#use nproc `linux only
1111
THREADS=$(nproc)
1212

0 commit comments

Comments
 (0)