diff --git a/substrate/frame/system/src/lib.rs b/substrate/frame/system/src/lib.rs index 379e5e10508d..f2bb5e290c94 100644 --- a/substrate/frame/system/src/lib.rs +++ b/substrate/frame/system/src/lib.rs @@ -2403,6 +2403,7 @@ where before_finalize: Box)>, after_finalize: Box)>, } + #[cfg(any(feature = "std", feature = "runtime-benchmarks", test))] impl<'a, T> RunToBlockHooks<'a, T> where @@ -2441,6 +2442,7 @@ where self } } + #[cfg(any(feature = "std", feature = "runtime-benchmarks", test))] impl<'a, T> Default for RunToBlockHooks<'a, T> where