mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Be honnest about {u/i}128 support
This commit is contained in:
parent
aee975e0e2
commit
75430b22e3
@ -31,7 +31,7 @@ fn cton_type_from_ty(ty: Ty) -> Option<types::Type> {
|
||||
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<types::Type> {
|
||||
IntTy::I16 => types::I16,
|
||||
IntTy::I32 => types::I32,
|
||||
IntTy::I64 => types::I64,
|
||||
IntTy::I128 => types::I64X2,
|
||||
IntTy::I128 => unimplemented!(),
|
||||
IntTy::Isize => types::I64,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user