Skip to content

Commit

Permalink
Enable link time optimization for release builds
Browse files Browse the repository at this point in the history
Signed-off-by: Randy Barlow <[email protected]>
  • Loading branch information
bowlofeggs committed Jan 16, 2021
1 parent e5094da commit dd0bef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* [#19](https://github.com/bowlofeggs/rpick/issues/19) Update rand to 0.8.2.
* [#20](https://github.com/bowlofeggs/rpick/issues/20) `cargo test --release` now works.
* [#22](https://github.com/bowlofeggs/rpick/pull/22) Use link time optimization for release builds.


# 0.7.1
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ assert_cmd = "1"
rand = {version = "0.8", features = ["small_rng"]}
regex = "1"
tempfile = "3"

[profile.release]
lto = true

0 comments on commit dd0bef3

Please sign in to comment.