Allow to have multiple conditions in the same macro call #78
No reviewers
Labels
No labels
bug
dependencies
duplicate
enhancement
github_actions
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-rust-lang/cfg-if!78
Loading…
Reference in a new issue
No description provided.
Delete branch "GuillaumeGomez/multiple-call"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's quite convenient when you have multiple small conditions and want coherency across cfg handling (example with sysinfo crate):
I'm not sure how likely new features are here considering
match_cfgwill soon be eating its lunch?match_cfgseems to be more limited. For example you can't have cfg conditions (handled by the macro) inside branches, unlikecfg_if.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.