Skip to content

add test checking that -Ctarget-feature implies cfg(target_feature) - #166438

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
RalfJung:cfg-target-feature
Nov 25, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
RalfJung:cfg-target-feature

Conversation

@RalfJung

Copy link
Copy Markdown
Member

We have lots of tests that indirectly rely on this, but I found no test directly checking the cfg, so let's add one.

r? @antoyo

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 24, 2026

@antoyo antoyo left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.

View changes since this review

@antoyo

antoyo commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

@bors r+

@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 70e5f94 has been approved by antoyo

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Nov 25, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Nov 25, 2026
add test checking that -Ctarget-feature implies cfg(target_feature)

We have lots of tests that indirectly rely on this, but I found no test directly checking the `cfg`, so let's add one.

r? @antoyo
rust-bors Bot pushed a commit that referenced this pull request Nov 25, 2026
Rollup of 5 pull requests

Successful merges:

 - #166438 (add test checking that -Ctarget-feature implies cfg(target_feature))
 - #165624 (feat(time): add `Duration` extractors for units larger than second)
 - #166231 (Added regression test for issue #53156 )
 - #166401 (Add explanatory comment and rename alias )
 - #166520 (Fix typo in ConstItemInteriorMutationsDiag struct)
rust-bors Bot pushed a commit that referenced this pull request Nov 25, 2026
Rollup of 9 pull requests

Successful merges:

 - #166438 (add test checking that -Ctarget-feature implies cfg(target_feature))
 - #166536 (Make `issue-96797.rs` link again)
 - #165624 (feat(time): add `Duration` extractors for units larger than second)
 - #166231 (Added regression test for issue #53156 )
 - #166401 (Add explanatory comment and rename alias )
 - #166520 (Fix typo in ConstItemInteriorMutationsDiag struct)
 - #166540 (Return `Err` from `send_process_group_signal` if leader has been awaited)
 - #166544 (rustc-dev-guide subtree update)
 - #166545 (Run more autodiff tests in CI)
rust-bors Bot pushed a commit that referenced this pull request Nov 25, 2026
Rollup merge of #166438 - RalfJung:cfg-target-feature, r=antoyo

add test checking that -Ctarget-feature implies cfg(target_feature)

We have lots of tests that indirectly rely on this, but I found no test directly checking the `cfg`, so let's add one.

r? @antoyo
@rust-bors
rust-bors Bot merged commit 08582df into rust-lang:main Nov 25, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 25, 2026
@RalfJung
RalfJung deleted the cfg-target-feature branch November 25, 2026 15:49
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. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants