mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-07 21:25:31 +00:00
remove size assertions to avoid nightly error (#111)
This commit is contained in:
parent
c0923cbc1c
commit
29c4728dbe
1 changed files with 9 additions and 8 deletions
|
@ -54,11 +54,12 @@ impl<R> Expr<R> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_arch = "x86_64")]
|
// TODO: make this a #[test] to avoid eq comparison
|
||||||
static_assertions::assert_eq_size!(crate::Expr, [u8; 72]);
|
// #[cfg(target_arch = "x86_64")]
|
||||||
#[cfg(target_arch = "x86_64")]
|
// static_assertions::assert_eq_size!(crate::Expr, [u8; 72]);
|
||||||
static_assertions::assert_eq_size!(crate::Stmt, [u8; 160]);
|
// #[cfg(target_arch = "x86_64")]
|
||||||
#[cfg(target_arch = "x86_64")]
|
// static_assertions::assert_eq_size!(crate::Stmt, [u8; 160]);
|
||||||
static_assertions::assert_eq_size!(crate::Pattern, [u8; 96]);
|
// #[cfg(target_arch = "x86_64")]
|
||||||
#[cfg(target_arch = "x86_64")]
|
// static_assertions::assert_eq_size!(crate::Pattern, [u8; 96]);
|
||||||
static_assertions::assert_eq_size!(crate::ExceptHandler, [u8; 64]);
|
// #[cfg(target_arch = "x86_64")]
|
||||||
|
// static_assertions::assert_eq_size!(crate::ExceptHandler, [u8; 64]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue