diff --git a/lib/runtime-core/src/cache.rs b/lib/runtime-core/src/cache.rs index 57f36e7ea..89bbaf796 100644 --- a/lib/runtime-core/src/cache.rs +++ b/lib/runtime-core/src/cache.rs @@ -35,6 +35,9 @@ impl From for Error { /// /// [`Cache`]: trait.Cache.html #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)] +// WasmHash is made up of two 32 byte arrays instead of a 64 byte array +// because derive only works on fixed sized arrays size 32 or below +// TODO: fix this when this gets fixed by improved const generics pub struct WasmHash([u8; 32], [u8; 32]); impl WasmHash {