diff --git a/core/sr-io/src/lib.rs b/core/sr-io/src/lib.rs index 12e09945d2704..e239b99f0a9c4 100644 --- a/core/sr-io/src/lib.rs +++ b/core/sr-io/src/lib.rs @@ -18,6 +18,7 @@ //! This is part of the Substrate runtime. // end::description[] +#![cfg_attr(not(feature = "std"), feature(panic_handler))] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(not(feature = "std"), feature(lang_items))] #![cfg_attr(not(feature = "std"), feature(alloc_error_handler))]