message: test passed on enable-rkyv disabled, but failed otherwise
diff: @@ -20,6 +20,7 @@ use serde::{Deserialize, Serialize};
  )]
  pub struct LocalFunctionIndex(u32);
  entity_impl!(LocalFunctionIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedLocalFunctionIndex);
  /// Index type of a table defined locally inside the WebAssembly module.
  @@ -47,6 +48,7 @@ entity_impl!(LocalMemoryIndex);
  )]
  pub struct LocalGlobalIndex(u32);
  entity_impl!(LocalGlobalIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedLocalGlobalIndex);
  /// Index type of a function (imported or local) inside the WebAssembly module.
  @@ -62,6 +64,7 @@ entity_impl!(ArchivedLocalGlobalIndex);
  )]
  pub struct FunctionIndex(u32);
  entity_impl!(FunctionIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedFunctionIndex);
  /// Index type of a table (imported or local) inside the WebAssembly module.
  @@ -77,6 +80,7 @@ entity_impl!(ArchivedFunctionIndex);
  )]
  pub struct TableIndex(u32);
  entity_impl!(TableIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedTableIndex);
  /// Index type of a global variable (imported or local) inside the WebAssembly module.
  @@ -92,6 +96,7 @@ entity_impl!(ArchivedTableIndex);
  )]
  pub struct GlobalIndex(u32);
  entity_impl!(GlobalIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedGlobalIndex);
  /// Index type of a linear memory (imported or local) inside the WebAssembly module.
  @@ -107,6 +112,7 @@ entity_impl!(ArchivedGlobalIndex);
  )]
  pub struct MemoryIndex(u32);
  entity_impl!(MemoryIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedMemoryIndex);
  /// Index type of a signature (imported or local) inside the WebAssembly module.
  @@ -122,6 +128,7 @@ entity_impl!(ArchivedMemoryIndex);
  )]
  pub struct SignatureIndex(u32);
  entity_impl!(SignatureIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedSignatureIndex);
  /// Index type of a passive data segment inside the WebAssembly module.
  @@ -137,6 +144,7 @@ entity_impl!(ArchivedSignatureIndex);
  )]
  pub struct DataIndex(u32);
  entity_impl!(DataIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedDataIndex);
  /// Index type of a passive element segment inside the WebAssembly module.
  @@ -152,6 +160,7 @@ entity_impl!(ArchivedDataIndex);
  )]
  pub struct ElemIndex(u32);
  entity_impl!(ElemIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedElemIndex);
  /// Index type of a custom section inside a WebAssembly module.
  @@ -167,6 +176,7 @@ entity_impl!(ArchivedElemIndex);
  )]
  pub struct CustomSectionIndex(u32);
  entity_impl!(CustomSectionIndex);
  +#[cfg(feature = "enable-rkyv")]
  entity_impl!(ArchivedCustomSectionIndex);
  /// An entity to export.
  