Skip to content

Commit

Permalink
Set opt-level for {binstall, tokio}-tar to "z"
Browse files Browse the repository at this point in the history
Trying to fix #1196

Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Jul 14, 2023
1 parent 6567022 commit abeae8c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ strip = "symbols"
[profile.release.build-override]
inherits = "dev.build-override"

[profile.release.package."tokio-tar"]
opt-level = "z"

[profile.release.package."binstall-tar"]
opt-level = "z"

[profile.dev]
opt-level = 0
debug = true
Expand All @@ -35,6 +41,12 @@ codegen-units = 1024
[profile.dev.package."*"]
opt-level = 3

[profile.dev.package."tokio-tar"]
opt-level = "z"

[profile.dev.package."binstall-tar"]
opt-level = "z"

[profile.dev.build-override]
inherits = "dev"
debug = false
Expand Down

0 comments on commit abeae8c

Please sign in to comment.