mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 19:31:05 +00:00
Set release flags for 0.19.6 (#5168)
This commit is contained in:
parent
ad8056a674
commit
87d623cc6d
1 changed files with 4 additions and 3 deletions
|
@ -24,11 +24,12 @@ doctest = false
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
|
# See https://github.com/johnthagen/min-sized-rust for additional optimizations
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = 0
|
debug = 0
|
||||||
lto = "thin"
|
lto = "fat"
|
||||||
strip = true # Automatically strip symbols from the binary.
|
opt-level = 3 # Optimize for speed, not size.
|
||||||
opt-level = "z" # Optimize for size.
|
codegen-units = 1 # Reduce parallel code generation.
|
||||||
|
|
||||||
# This profile significantly speeds up build time. If debug info is needed you can comment the line
|
# This profile significantly speeds up build time. If debug info is needed you can comment the line
|
||||||
# out temporarily, but make sure to leave this in the main branch.
|
# out temporarily, but make sure to leave this in the main branch.
|
||||||
|
|
Loading…
Reference in a new issue