-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot specify timings in .cargo/config #10509
Comments
@weihanglo @ehuss Is this acceptable? I think I can help to add it. |
Seems like a reasonable addition to me. Roughly the things that need to be done to add this are:
|
@rustbot claim |
@jerryc05 could you expand on why you are interested in this being in the config? This seems like a transient option for me and the use case for making it more permanent in a file seems unclear. |
@jerryc05 Friendly ping~ Could you share your use cases? |
Ummm its been a long time since I coded in Rust. I guess I was building my Rust coding starter template at that time and would like to have all my options setup in one config file instead of passing arguments. |
@epage Maybe we can close this issue now? I think there are no reasonable use cases for this config. Because it's a debugging config, we can always pass it. |
I'm not quite seeing why this would be put in a starter template as it seems like you wouldn't want timings on every run but only when specifically wanting to measure a build. If someone does come up with a reason for wanting timings on every run, we can reconsider this. For now, I'm going to close this though as there doesn't seem to be sufficient motivation provided. |
Problem
Cannot specify
timings
option in.cargo/config
Steps
.cargo/config
:warning: unused config key build.timings
, and timings not activated.Possible Solution(s)
Parse
build.timings
in.cargo/config
sincetimings
is removed from unstable in nightly cargo.Notes
No response
Version
The text was updated successfully, but these errors were encountered: