// const_slice_from_raw_parts was stabilized in 1.64, however we support building on 1.63 as well.
// Luckily, it seems to work fine in 1.63 with the feature flag (and RUSTC_BOOTSTRAP=1) enabled.
-#![allow(stable_features)]
-#![feature(const_slice_from_raw_parts)]
+#![cfg_attr(rust_1_63, feature(const_slice_from_raw_parts))]
#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;