Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Jul 14, 2024
1 parent 36d1644 commit a1f7be0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
15 changes: 10 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ codegen-units = 1
lto = true
panic = "abort"

[profile.release_test]
inherits = "release"
debug = "line-tables-only"
debug-assertions = true
overflow-checks = true

[profile.dev.build-override]
opt-level = 3
debug-assertions = false
Expand All @@ -71,8 +77,7 @@ opt-level = 3
debug-assertions = false
overflow-checks = false

[profile.release_test]
inherits = "release"
debug = "line-tables-only"
debug-assertions = true
overflow-checks = true
[profile.release_test.build-override]
opt-level = 3
debug-assertions = false
overflow-checks = false
10 changes: 5 additions & 5 deletions cmd/minimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ todo = "deny"
unimplemented = "deny"
use_self = "deny"

[profile.release]
codegen-units = 1
[profile.dev]
lto = true
opt-level = 3
panic = "abort"
strip = true

[profile.dev]
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
panic = "abort"
strip = true

0 comments on commit a1f7be0

Please sign in to comment.