this post was submitted on 24 Jan 2024
91 points (97.9% liked)

Rust

6005 readers
3 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Upto 90% for hellworld

you are viewing a single comment's thread
view the rest of the comments
[โ€“] OmnipotentEntity@beehaw.org 3 points 9 months ago (1 children)

Yeah, definitely :)

The default dev profile is defined as:

[profile.dev]
opt-level = 0
debug = true
split-debuginfo = '...'  # Platform-specific.
strip = "none"
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false

You can find more information in the cargo book page on profiles

[โ€“] Lmaydev@programming.dev 1 points 9 months ago

I knew I had to be missing something. Thanks for the insight mate.