Skip to content

Commit

Permalink
Add test feature gate
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Apr 19, 2024
1 parent 2373ac7 commit 313fe1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polkadot/xcm/xcm-executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl<C> PreparedMessage for WeighedMessage<C> {
}
}

#[cfg(feature = "std")]
#[cfg(any(test, feature = "std"))]
impl<C> WeighedMessage<C> {
pub fn new(weight: Weight, message: Xcm<C>) -> Self {
Self(weight, message)
Expand Down

0 comments on commit 313fe1f

Please sign in to comment.