change: Make smaller binary.
parent
bf2ae78108
commit
6c0f8a6a01
|
|
@ -12,3 +12,10 @@ memmap2 = "0.9"
|
|||
walkdir = "2.3"
|
||||
regex = "1.12.2"
|
||||
once_cell = "*"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1 # Allows LLVM to perform better optimization.
|
||||
lto = true # Enables link-time-optimizations.
|
||||
opt-level = "s" # Prioritizes small binary size. Use `3` if you prefer speed.
|
||||
panic = "abort" # Higher performance by disabling panic handlers.
|
||||
strip = true # Ensures debug symbols are removed.
|
||||
|
|
|
|||
Loading…
Reference in New Issue