Skip to content

Commit

Permalink
fix(ci): inherit profiling in bench profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Jun 24, 2024
1 parent 0c1687f commit c2104ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,13 @@ codegen-units = 16
# e.g. `cargo build --profile profiling`
[profile.profiling]
inherits = "release"
debug = 1
debug = 2
strip = false

# Make sure debug symbols are in the bench profile
[profile.bench]
inherits = "profiling"

[profile.maxperf]
inherits = "release"
lto = "fat"
Expand Down

0 comments on commit c2104ce

Please sign in to comment.