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

Commit

Permalink
Revert "enable lto for release builds (#10717)"
Browse files Browse the repository at this point in the history
This reverts commit 4416187.
  • Loading branch information
dvdplm committed Jun 5, 2019
1 parent 4416187 commit 439572f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,8 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion scripts/gitlab/test-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e # fail on any error
set -u # treat unset variables as error

FEATURES="json-tests,ci-skip-tests"
OPTIONS=""
OPTIONS="--release"
#use nproc `linux only
THREADS=$(nproc)

Expand Down

0 comments on commit 439572f

Please sign in to comment.