Skip to content

Commit

Permalink
Strip symbols of inferno binaries to decrease size by 24x (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19 authored Nov 25, 2023
1 parent 86131d4 commit d877809
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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.

[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

0 comments on commit d877809

Please sign in to comment.