Opt-level = "2s"

Its already possible all they would need to do is add an attribute to opt-level:

[profile.release]
opt-level = 2
codegen-units = 1
lto = "thin"
strip = "debuginfo"

# Disable the biggest binary bloat offenders:
debug = false
incremental = false

Debug info and incr comp are already disabled in release mode by default.

1 Like

huh.... thats interesting.