fix encoding impl for usize on 32-bit architectures
This commit is contained in:
parent
87e681c617
commit
db9dd3dffe
@ -24,6 +24,11 @@ impl_encodable_for_uint!(u8, 8);
|
||||
impl_encodable_for_uint!(u16, 16);
|
||||
impl_encodable_for_uint!(u32, 32);
|
||||
impl_encodable_for_uint!(u64, 64);
|
||||
|
||||
#[cfg(target_pointer_width = "32")]
|
||||
impl_encodable_for_uint!(usize, 32);
|
||||
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
impl_encodable_for_uint!(usize, 64);
|
||||
|
||||
/// The SSZ "union" type.
|
||||
|
Loading…
Reference in New Issue
Block a user