macro_rules! cfg_select {
({ $($tt:tt)* }) => { ... };
(_ => { $($output:tt)* }) => { ... };
(
$cfg:meta => $output:tt
$($( $rest:tt )+)?
) => { ... };
}Expand description
Fallback cfg_select! on older Rust.
Requires braces around output, but works for items and expressions.