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

Commit

Permalink
cargo doesn't yet support per-target profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
denis2glez committed Oct 31, 2021
1 parent 2e9afe9 commit 3665dde
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 3665dde

Please sign in to comment.