Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip symbols of inferno binaries to decrease size by 24x #310

Merged
merged 2 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- By default, make `cargo install` strip all binaries. [#310](https://github.com/jonhoo/inferno/pull/310)

### Removed

## [0.11.18] - 2023-11-11
Expand Down
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ license = "CDDL-1.0"

exclude = ["/tests/**", "/flamegraph/**", "/*.perf"]

[profile.release]
strip = true # To use flamegraph on inferno binaries, comment this line
# debug = true # and uncomment this line.

jonhoo marked this conversation as resolved.
Show resolved Hide resolved
[features]
default = ["cli", "multithreaded", "nameattr"]
cli = ["clap", "env_logger"]
Expand Down Expand Up @@ -65,9 +69,6 @@ regex = { version = "1.6", default-features = false, features = ["std"] }
serde = { version = "1.0.145" }
testing_logger = "0.1.1"

[profile.release]
debug = true

[lib]
name = "inferno"
path = "src/lib.rs"
Expand Down
Loading