diff --git a/ast/src/impls.rs b/ast/src/impls.rs index 594fadb3..8c788593 100644 --- a/ast/src/impls.rs +++ b/ast/src/impls.rs @@ -54,11 +54,12 @@ impl Expr { } } -#[cfg(target_arch = "x86_64")] -static_assertions::assert_eq_size!(crate::Expr, [u8; 72]); -#[cfg(target_arch = "x86_64")] -static_assertions::assert_eq_size!(crate::Stmt, [u8; 160]); -#[cfg(target_arch = "x86_64")] -static_assertions::assert_eq_size!(crate::Pattern, [u8; 96]); -#[cfg(target_arch = "x86_64")] -static_assertions::assert_eq_size!(crate::ExceptHandler, [u8; 64]); +// TODO: make this a #[test] to avoid eq comparison +// #[cfg(target_arch = "x86_64")] +// static_assertions::assert_eq_size!(crate::Expr, [u8; 72]); +// #[cfg(target_arch = "x86_64")] +// static_assertions::assert_eq_size!(crate::Stmt, [u8; 160]); +// #[cfg(target_arch = "x86_64")] +// static_assertions::assert_eq_size!(crate::Pattern, [u8; 96]); +// #[cfg(target_arch = "x86_64")] +// static_assertions::assert_eq_size!(crate::ExceptHandler, [u8; 64]);