Don't support compiling to 128-bit targets

This commit is contained in:
Richard Feldman 2020-09-30 08:23:44 -04:00
parent a91fe2701c
commit 2993d40b85
2 changed files with 0 additions and 4 deletions

View file

@ -22,9 +22,6 @@ pub fn refcount_1(ctx: &Context, ptr_bytes: u32) -> IntValue<'_> {
2 => ctx.i16_type().const_int(i16::MIN as u64, false),
4 => ctx.i32_type().const_int(i32::MIN as u64, false),
8 => ctx.i64_type().const_int(i64::MIN as u64, false),
16 => ctx
.i128_type()
.const_int_arbitrary_precision(&[i64::MIN as u64, 0]),
_ => panic!(
"Invalid target: Roc does't support compiling to {}-bit systems.",
ptr_bytes * 8