How can I do cfg or

Is there a way to do something that can be like #[cfg(or(..., ...)]
Of course or is invalid predicate which I tried, is there some way to mimic this behaviour

#[cfg(any(..., ...))] instead of or.