Update Cranelift
Fixes bootstrapping of rustc using cg_clif Fixes #1097
This commit is contained in:
parent
6b1902a0fa
commit
f4e8af268b
3 changed files with 42 additions and 10 deletions
|
@ -48,6 +48,7 @@ unsafe impl Copy for u8 {}
|
|||
unsafe impl Copy for u16 {}
|
||||
unsafe impl Copy for u32 {}
|
||||
unsafe impl Copy for u64 {}
|
||||
unsafe impl Copy for u128 {}
|
||||
unsafe impl Copy for usize {}
|
||||
unsafe impl Copy for i8 {}
|
||||
unsafe impl Copy for i16 {}
|
||||
|
@ -283,6 +284,15 @@ impl PartialEq for u64 {
|
|||
}
|
||||
}
|
||||
|
||||
impl PartialEq for u128 {
|
||||
fn eq(&self, other: &u128) -> bool {
|
||||
(*self) == (*other)
|
||||
}
|
||||
fn ne(&self, other: &u128) -> bool {
|
||||
(*self) != (*other)
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialEq for usize {
|
||||
fn eq(&self, other: &usize) -> bool {
|
||||
(*self) == (*other)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue