this post was submitted on 24 Mar 2024
23 points (92.6% liked)
Rust
6011 readers
2 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Well, obviously that will depend on what defaults (and how many?!) a developer is going to change".
https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles
And the debug (
dev
) profile has its uses. It's just not necessarily the best for typical day-to-day development in many projects.I actually use two steps of profile inheritance, with
-cl
(for Cranelift) inheriting from a specialrelease-dev
profile. A developer does not have to be limited in how they modify or construct their profiles.