Skip to content

Commit 88df3a2

Browse files
committed
Mingw is special wrt type sizes
1 parent b903cb9 commit 88df3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/sty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@ pub enum LazyConst<'tcx> {
20212021
Evaluated(&'tcx Const<'tcx>),
20222022
}
20232023

2024-
static_assert!(MEM_SIZE_OF_LAZY_CONST: ::std::mem::size_of::<LazyConst<'_>>() == 24);
2024+
static_assert!(MEM_SIZE_OF_LAZY_CONST: ::std::mem::size_of::<LazyConst<'_>>() <= 24);
20252025

20262026
impl<'tcx> LazyConst<'tcx> {
20272027
pub fn unwrap_evaluated(self) -> &'tcx Const<'tcx> {

0 commit comments

Comments
 (0)