Move the extra directives for Mode::CoverageRun into iter_header by Zalathar · Pull Request #121233 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation6 Commits2 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Zalathar

When these extra directives were ported over as part of #112300, it made sense to introduce iter_header_extra and pass them in as an extra argument.

But now that #120881 has added a mode parameter to iter_header for its own purposes, it's slightly simpler to move the coverage special-case code directly into iter_header as well. This lets us get rid of iter_header_extra.

@rustbot

r? @oli-obk

rustbot has assigned @oli-obk.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-testsuite

Area: The testsuite used to check the correctness of rustc

S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

labels

Feb 17, 2024

jieyouxu

@bors

@Zalathar

@Zalathar

When these extra directives were ported over as part of rust-lang#112300, it made sense to introduce iter_header_extra and pass them in as an extra argument.

But now that rust-lang#120881 has added a mode parameter to iter_header for its own purposes, it's slightly simpler to move the coverage special-case code directly into iter_header as well. This lets us get rid of iter_header_extra.

@oli-obk

@bors

📌 Commit c521d7f has been approved by oli-obk

It is now in the queue for this repository.

@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

Feb 19, 2024

saethlin added a commit to saethlin/rust that referenced this pull request

Feb 20, 2024

@saethlin

Move the extra directives for Mode::CoverageRun into iter_header

When these extra directives were ported over as part of rust-lang#112300, it made sense to introduce iter_header_extra and pass them in as an extra argument.

But now that rust-lang#120881 has added a mode parameter to iter_header for its own purposes, it's slightly simpler to move the coverage special-case code directly into iter_header as well. This lets us get rid of iter_header_extra.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 20, 2024

@bors

Rollup of 8 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 20, 2024

@bors

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Feb 20, 2024

@rust-timer

Rollup merge of rust-lang#121233 - Zalathar:extra-directives, r=oli-obk

Move the extra directives for Mode::CoverageRun into iter_header

When these extra directives were ported over as part of rust-lang#112300, it made sense to introduce iter_header_extra and pass them in as an extra argument.

But now that rust-lang#120881 has added a mode parameter to iter_header for its own purposes, it's slightly simpler to move the coverage special-case code directly into iter_header as well. This lets us get rid of iter_header_extra.

Labels

A-testsuite

Area: The testsuite used to check the correctness of rustc

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)