mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
repl: update some static_asserts for 32-bit compiler build
This commit is contained in:
parent
5661d281c6
commit
8e370a32b6
4 changed files with 12 additions and 12 deletions
|
@ -18,10 +18,10 @@ use ven_pretty::{DocAllocator, DocBuilder};
|
|||
// if your changes cause this number to go down, great!
|
||||
// please change it to the lower number.
|
||||
// if it went up, maybe check that the change is really required
|
||||
static_assertions::assert_eq_size!([u8; 3 * 8], Builtin);
|
||||
static_assertions::assert_eq_size!([u8; 4 * 8], Layout);
|
||||
static_assertions::assert_eq_size!([u8; 3 * 8], UnionLayout);
|
||||
static_assertions::assert_eq_size!([u8; 3 * 8], LambdaSet);
|
||||
static_assertions::assert_eq_size!([usize; 3], Builtin);
|
||||
static_assertions::assert_eq_size!([usize; 4], Layout);
|
||||
static_assertions::assert_eq_size!([usize; 3], UnionLayout);
|
||||
static_assertions::assert_eq_size!([usize; 3], LambdaSet);
|
||||
|
||||
pub type TagIdIntType = u16;
|
||||
pub const MAX_ENUM_SIZE: usize = (std::mem::size_of::<TagIdIntType>() * 8) as usize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue