Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions prdoc/pr_4249.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json

title: Moves runtime macro out of experimental flag

doc:
- audience: Runtime Dev
description: |
Now that the runtime macro (Construct Runtime V2) has been successfully deployed on Westend,
this PR moves it out of the experimental feature flag and makes it generally available for
runtime devs.

crates:
- name: frame-support
bump: minor
- name: frame-support-procedural
bump: minor
1 change: 0 additions & 1 deletion substrate/frame/support/procedural/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,6 @@ pub fn import_section(attr: TokenStream, tokens: TokenStream) -> TokenStream {
///
/// * The macro generates a type alias for each pallet to their `Pallet`. E.g. `type System =
/// frame_system::Pallet<Runtime>`
#[cfg(feature = "experimental")]
#[proc_macro_attribute]
pub fn runtime(attr: TokenStream, item: TokenStream) -> TokenStream {
runtime::runtime(attr, item)
Expand Down
2 changes: 0 additions & 2 deletions substrate/frame/support/procedural/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@
//! +----------------------+
//! ```

#![cfg(feature = "experimental")]

pub use parse::Def;
use proc_macro::TokenStream;
use syn::spanned::Spanned;
Expand Down
1 change: 0 additions & 1 deletion substrate/frame/support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ pub use frame_support_procedural::{
construct_runtime, match_and_insert, transactional, PalletError, RuntimeDebugNoBound,
};

#[cfg(feature = "experimental")]
pub use frame_support_procedural::runtime;

#[doc(hidden)]
Expand Down