Fix data size.

This commit is contained in:
Stephen Chung 2022-11-04 19:18:56 +08:00
parent 2a5ef0bee1
commit 8904b19015

View File

@ -41,7 +41,7 @@ fn check_struct_sizes() {
size_of::<ParseError>(), size_of::<ParseError>(),
if cfg!(feature = "no_position") { 8 } else { 16 } if cfg!(feature = "no_position") { 8 } else { 16 }
); );
assert_eq!(size_of::<EvalAltResult>(), 72); assert_eq!(size_of::<EvalAltResult>(), 64);
assert_eq!( assert_eq!(
size_of::<NativeCallContext>(), size_of::<NativeCallContext>(),
if cfg!(feature = "no_position") { if cfg!(feature = "no_position") {