Opt-level = "2s"

⚓ Rust    📅 2025-11-15    👤 surdeus    👁️ 11      

surdeus

Warning

This post was published 65 days ago. The information described in this article may have changed.

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: 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

1 post - 1 participant

Read full topic

🏷️ Rust_feed