Open
Description
Problem
It would be great if we could specify flags like -Zbuild-std for individual profiles in Cargo.toml, instead of creating aliases or global config. This would provide more flexibility, especially when specific configurations are needed for development or release builds. It would also eliminate the need for different aliases for building, running, benchmarks, and tests, allowing us to simply specify --profile ....
.
Proposed Solution
Example
[profile.release]
cargoflags = [" -Zbuild-std"]
Notes
No response