mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Various compile fixes for android rustup (link still fails).
This commit is contained in:
parent
466faac2a5
commit
1a9be88a1d
4 changed files with 77 additions and 67 deletions
|
@ -169,6 +169,7 @@ pub trait BloomHash {
|
|||
}
|
||||
|
||||
impl BloomHash for int {
|
||||
#[allow(exceeding_bitshifts)]
|
||||
#[inline]
|
||||
fn bloom_hash(&self) -> u32 {
|
||||
((*self >> 32) ^ *self) as u32
|
||||
|
@ -176,6 +177,7 @@ impl BloomHash for int {
|
|||
}
|
||||
|
||||
impl BloomHash for uint {
|
||||
#[allow(exceeding_bitshifts)]
|
||||
#[inline]
|
||||
fn bloom_hash(&self) -> u32 {
|
||||
((*self >> 32) ^ *self) as u32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue