Is it possible to perform conditional compilation on the basis of a compile-time constant? So, for example, in pseudocode:
const CONST: i32 = 3; #[cfg(CONST > 4)] ...
If this isn’t possible for arbitrary code, is it possible for the implementation of a given type (e.g., along the lines of
impl<T: Sized>, such as
impl<CONST > 4, T: Sized>)?