about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2018-12-12 09:13:57 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-01-01 20:05:02 +0100
commit88df3a2c970a8de576b31ae1ae089f6e99374484 (patch)
tree58ce8d54fd538ac05e1b101ae77ea8984d1f4120
parentb903cb9d6001bf6c199f15ffc0c61fdad802f328 (diff)
downloadrust-88df3a2c970a8de576b31ae1ae089f6e99374484.tar.gz
rust-88df3a2c970a8de576b31ae1ae089f6e99374484.zip
Mingw is special wrt type sizes
-rw-r--r--src/librustc/ty/sty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/sty.rs b/src/librustc/ty/sty.rs
index ba380dfc7c8..4a254fc1cd9 100644
--- a/src/librustc/ty/sty.rs
+++ b/src/librustc/ty/sty.rs
@@ -2021,7 +2021,7 @@ pub enum LazyConst<'tcx> {
     Evaluated(&'tcx Const<'tcx>),
 }
 
-static_assert!(MEM_SIZE_OF_LAZY_CONST: ::std::mem::size_of::<LazyConst<'_>>() == 24);
+static_assert!(MEM_SIZE_OF_LAZY_CONST: ::std::mem::size_of::<LazyConst<'_>>() <= 24);
 
 impl<'tcx> LazyConst<'tcx> {
     pub fn unwrap_evaluated(self) -> &'tcx Const<'tcx> {