Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from denis2glez/cfx
Browse files Browse the repository at this point in the history
cargo doesn't yet support per-target profiles
  • Loading branch information
denis2glez authored Oct 31, 2021
2 parents bec512b + 3665dde commit 539262f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coin-market-cap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ serial_test = "0.5.1"
[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator]
version = "0.3.2"

[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.profile.release]
# cargo doesn't yet support per-target profiles (https://github.com/rust-lang/cargo/issues/4897)
[profile.release]
opt-level = 3
debug = false
lto = true
Expand Down

0 comments on commit 539262f

Please sign in to comment.