-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(timing)!: remove --timings=<FMT> optional format values
#16420
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it require an FCP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good to get a vibe check in case there is interest in build analysis having X amount of functionality before it can replace --timings=json
Arguments to remove it * The `--timings=json` is obsolete as `-Zbuild-analysis` logging is a more approachable option, which doesn't need passing `--timings=json` ahead of time. * There is no support infra built around `--timings=json` yet, while for `-Zbuild-analysis` we have `cargo report timings` already. * `--timings=json` is a UI feature inherently unstable, and has no tests. Counterargument: * `--timings=json` outputs to stdout, but there is no alternative yet also outputs to stdout.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
@rfcbot fcp merge T-cargo This removes support for |
|
Team member @weihanglo has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
What does this PR try to resolve?
Arguments to remove it
--timings=jsonis obsolete as-Zbuild-analysislogging isa more approachable option, which doesn't need passing
--timings=jsonahead of time.--timings=jsonyet,while for
-Zbuild-analysiswe havecargo report timingsalready.--timings=jsonis a UI feature inherently unstable, and has no tests.Counterargument:
--timings=jsonoutputs to stdout, but there is no alternative yetalso outputs to stdout.
feat(log): add output control #16418 was an attempt to add that back,
but we then decide to punt until seeing requests or needs.
How to test and review this PR?
cargo help buildand check the manpagecargo build --helpand cehck the help textcargo build --timingsand it works