Keep default release profile with default settings
This commit is contained in:
parent
016d8c2499
commit
a2a29231f1
1 changed files with 5 additions and 4 deletions
|
|
@ -6,16 +6,17 @@ resolver = "2"
|
|||
[workspace.package]
|
||||
rust-version = "1.65"
|
||||
|
||||
[profile.release]
|
||||
[profile.optimize]
|
||||
inherits = "release"
|
||||
strip = true # Automatically strip symbols from the binary.
|
||||
lto = true # Link-time optimization.
|
||||
opt-level = 3 # Optimization level 3.
|
||||
codegen-units = 1 # Maximum size reduction optimizations.
|
||||
|
||||
[profile.size]
|
||||
inherits = "release"
|
||||
opt-level = "s" # Optimize for size.
|
||||
inherits = "optimize"
|
||||
opt-level = "s" # Optimize for size.
|
||||
|
||||
[profile.profile]
|
||||
inherits = "release"
|
||||
inherits = "optimize"
|
||||
strip = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue