From 75430b22e323f0f8a47bc0e5e3e2a6618c71ad95 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Tue, 26 Jun 2018 20:30:47 +0200 Subject: [PATCH] Be honnest about {u/i}128 support --- src/common.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common.rs b/src/common.rs index 89ee2666f03..09a8e2da048 100644 --- a/src/common.rs +++ b/src/common.rs @@ -31,7 +31,7 @@ fn cton_type_from_ty(ty: Ty) -> Option { UintTy::U16 => types::I16, UintTy::U32 => types::I32, UintTy::U64 => types::I64, - UintTy::U128 => types::I64X2, + UintTy::U128 => unimplemented!(), UintTy::Usize => types::I64, } } @@ -41,7 +41,7 @@ fn cton_type_from_ty(ty: Ty) -> Option { IntTy::I16 => types::I16, IntTy::I32 => types::I32, IntTy::I64 => types::I64, - IntTy::I128 => types::I64X2, + IntTy::I128 => unimplemented!(), IntTy::Isize => types::I64, } }