#[cfg_or_panic(..)]
Keep the function body under #[cfg(..)], or replace it with unimplemented!() under #[cfg(not(..))].
#[cfg(..)]
unimplemented!()
#[cfg(not(..))]
```rust use cfgorpanic::cfgorpanic;
fn foo() -> i32 { 42 }
fn test() { assert_eq!(foo(), 42); } ```