This is simpler and mirrors what invocation collector does
rustc_expand
rustc_builtin_macros
This logic is applicable to two specific macros and not to the expansion infrastructure in general.
#[cfg_eval]