Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Use standard LTO settings for release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Jul 28, 2024
1 parent 30b0d41 commit 318e34a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Use `cargo release` to create a new release.

## [Unreleased]

### Changed
- Release builds no longer use fat LTO, which significantly reduces compilation time.

## [2.3.0] – 2024-07-28

### Added
Expand Down
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ similar-asserts = { workspace = true }
[target.'cfg(windows)'.dependencies]
anstyle-query = { version = "1.1.0", default-features = false }

[profile.release]
# Enable LTO for release builds; makes the binary a lot smaller
lto = true

[package.metadata.release]
release = true
pre-release-replacements = [
Expand Down

0 comments on commit 318e34a

Please sign in to comment.