Skip to content

support: Update vendored cfg-if to upstream for true and false support#1206

Merged
tgross35 merged 1 commit intorust-lang:mainfrom
tgross35:cfg-if
Apr 20, 2026
Merged

support: Update vendored cfg-if to upstream for true and false support#1206
tgross35 merged 1 commit intorust-lang:mainfrom
tgross35:cfg-if

Conversation

@tgross35
Copy link
Copy Markdown
Contributor

@tgross35 tgross35 enabled auto-merge (rebase) April 20, 2026 10:21
@bjorn3
Copy link
Copy Markdown
Member

bjorn3 commented Apr 20, 2026

Maybe we could switch to core::cfg_select!?

@tgross35
Copy link
Copy Markdown
Contributor Author

libm uses this so we can't yet because of MSRV. But maybe there's a polyfill for cfg_select that we could switch to so at least the syntax is consistent (I'm actually surprised docs.rs/cfg-select doesn't exist)

@tgross35 tgross35 merged commit 4d3ab86 into rust-lang:main Apr 20, 2026
43 checks passed
@tgross35 tgross35 deleted the cfg-if branch April 20, 2026 11:08
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