Skip to content
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

Add a link to the document in the timings report #10492

Merged
merged 2 commits into from
Apr 18, 2022

Conversation

Rustin170506
Copy link
Member

@Rustin170506 Rustin170506 commented Mar 21, 2022

What does this PR try to resolve?

close #10487

Add a link to the document in the header of timings report.

How should we test and review this PR?

cargo build --timings

image

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@rust-highfive
Copy link

r? @ehuss

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 21, 2022
@ehuss
Copy link
Contributor

ehuss commented Mar 30, 2022

Thanks! I think I would prefer this not to be so prominent, though. Is there a particular reason you placed it in the header instead of at the bottom of the page?

@Rustin170506
Copy link
Member Author

Thanks! I think I would prefer this not to be so prominent, though. Is there a particular reason you placed it in the header instead of at the bottom of the page?

I think it might be easier to get the user's attention by putting the document next to the title. Otherwise when they look at the chart they will be confused. Putting it at the end means that the user sees the chart first and then the document. I think we may need to put the document in front. Also I can't find a place at the end where it would look better to add the document link.

@Rustin170506
Copy link
Member Author

@ehuss Could you please look at it again? Thanks!

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@ehuss
Copy link
Contributor

ehuss commented Apr 18, 2022

Thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 18, 2022

📌 Commit 4a12569 has been approved by ehuss

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 18, 2022
@bors
Copy link
Collaborator

bors commented Apr 18, 2022

⌛ Testing commit 4a12569 with merge 25cc78e...

@bors
Copy link
Collaborator

bors commented Apr 18, 2022

☀️ Test successful - checks-actions
Approved by: ehuss
Pushing 25cc78e to master...

@bors bors merged commit 25cc78e into rust-lang:master Apr 18, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 20, 2022
Update cargo

7 commits in dba5baf4345858c591517b24801902a062c399f8..edffc4ada3d77799e5a04eeafd9b2f843d29fc23
2022-04-13 21:58:27 +0000 to 2022-04-19 17:38:29 +0000
- Document cargo-add (rust-lang/cargo#10578)
- feat: Support '-F' as an alias for '--features' (rust-lang/cargo#10576)
- Completion support for `cargo-add` (rust-lang/cargo#10577)
- Add a link to the document in the timings report (rust-lang/cargo#10492)
- feat: Import cargo-add into cargo (rust-lang/cargo#10472)
- Part 8 of RFC2906 - Keep `InheritableFields` in a `LazyCell` inside `… (rust-lang/cargo#10568)
- Part 7 of RFC2906 - Add support for inheriting `exclude` and `include` (rust-lang/cargo#10565)
@ehuss ehuss added this to the 1.62.0 milestone Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a link to the documentation in the timing report
5 participants