Skip to content

refactor: replace cfg_if!{} with cfg_select!{}#4951

Merged
rami3l merged 1 commit into
rust-lang:mainfrom
rami3l:refactor/cfg-select
Jul 10, 2026
Merged

refactor: replace cfg_if!{} with cfg_select!{}#4951
rami3l merged 1 commit into
rust-lang:mainfrom
rami3l:refactor/cfg-select

Conversation

@rami3l

@rami3l rami3l commented Jul 10, 2026

Copy link
Copy Markdown
Member

This gets us one fewer external dependency.

There might more cfg()s here that can be written this way for better readability, but for now I'm just doing the direct replacements.

@rami3l rami3l requested a review from djc July 10, 2026 14:34
@rami3l rami3l marked this pull request as ready for review July 10, 2026 14:34

@djc djc 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.

@rami3l rami3l enabled auto-merge July 10, 2026 14:45
@rami3l rami3l added this pull request to the merge queue Jul 10, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 10, 2026
@rami3l rami3l added this pull request to the merge queue Jul 10, 2026
Merged via the queue into rust-lang:main with commit 3ed3c1e Jul 10, 2026
54 of 62 checks passed
@rami3l rami3l deleted the refactor/cfg-select branch July 10, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants