Open GuillaumeGomez opened 4 months ago
I'm not sure how likely new features are here considering match_cfg
will soon be eating its lunch?
match_cfg
seems to be more limited. For example you can't have cfg conditions (handled by the macro) inside branches, unlike cfg_if
.
It's quite convenient when you have multiple small conditions and want coherency across cfg handling (example with sysinfo crate):