Skip to content

Commit

Permalink
Update Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
waldirborbajr authored Dec 8, 2023
1 parent 7086f61 commit c8ba531
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ rustflags = ["-z", "threads=8"]

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
opt-level = 'z' # Optimize for size
debug = false
# split-debuginfo = '...' # Platform-specific.
debug-assertions = false
overflow-checks = false
incremental = false
codegen-units = 1
rpath = false
opt-level = 3
# 0: no optimizations
# 1: basic optimizations
# 2: some optimizations
# 3: all optimizations
# "s": optimize for binary size
# "z": optimize for binary size, but also turn off loop vectorization.

0 comments on commit c8ba531

Please sign in to comment.