Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix runtime build.
Browse files Browse the repository at this point in the history
  • Loading branch information
eskimor committed Mar 14, 2021
1 parent 670b8f4 commit 6659aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions primitives/src/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,12 @@ impl PoV {

/// SCALE and Zstd encoded [`PoV`].
#[derive(Clone, Encode, Decode, PartialEq, Eq)]
#[cfg(not(target_os = "unknown"))]
#[cfg_attr(feature = "std", derive(Debug))]
pub struct CompressedPoV(Vec<u8>);

#[derive(Debug, Clone, Copy, PartialEq, Eq, thiserror::Error)]
#[allow(missing_docs)]
#[cfg(not(target_os = "unknown"))]
#[allow(missing_docs)]
pub enum CompressedPoVError {
#[error("Failed to compress a PoV")]
Compress,
Expand Down

0 comments on commit 6659aab

Please sign in to comment.