Rustup to rustc 1.50.0-nightly (593fe977a
2020-11-20)
This commit is contained in:
parent
77e90f1cb5
commit
c3179bc44b
4
build_sysroot/Cargo.lock
generated
4
build_sysroot/Cargo.lock
generated
@ -76,9 +76,9 @@ version = "0.0.0"
|
||||
|
||||
[[package]]
|
||||
name = "dlmalloc"
|
||||
version = "0.1.4"
|
||||
version = "0.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "35055b1021724f4eb5262eb49130eebff23fc59fc5a14160e05faad8eeb36673"
|
||||
checksum = "332570860c2edf2d57914987bf9e24835425f75825086b6ba7d1e6a3e4f1f254"
|
||||
dependencies = [
|
||||
"compiler_builtins",
|
||||
"libc",
|
||||
|
@ -53,6 +53,7 @@ fn main() {
|
||||
|
||||
assert_eq!(0b0000000000000000000000000010000010000000000000000000000000000000_0000000000100000000000000000000000001000000000000100000000000000u128.leading_zeros(), 26);
|
||||
assert_eq!(0b0000000000000000000000000010000000000000000000000000000000000000_0000000000000000000000000000000000001000000000000000000010000000u128.trailing_zeros(), 7);
|
||||
assert_eq!(core::intrinsics::saturating_sub(0, -170141183460469231731687303715884105728i128), 170141183460469231731687303715884105727i128);
|
||||
|
||||
let _d = 0i128.checked_div(2i128);
|
||||
let _d = 0u128.checked_div(2u128);
|
||||
|
@ -52,8 +52,8 @@ index 0475aeb..9558198 100644
|
||||
fn test_rotate() {
|
||||
assert_eq!(A.rotate_left(6).rotate_right(2).rotate_right(4), A);
|
||||
@@ -112,6 +113,7 @@ mod tests {
|
||||
assert_eq!(B.rotate_left(64), B);
|
||||
assert_eq!(C.rotate_left(64), C);
|
||||
assert_eq!(B.rotate_left(128), B);
|
||||
assert_eq!(C.rotate_left(128), C);
|
||||
}
|
||||
+ */
|
||||
|
||||
@ -72,8 +72,8 @@ index 04ed14f..a6e372e 100644
|
||||
fn test_rotate() {
|
||||
assert_eq!(A.rotate_left(6).rotate_right(2).rotate_right(4), A);
|
||||
@@ -76,6 +77,7 @@ mod tests {
|
||||
assert_eq!(B.rotate_left(64), B);
|
||||
assert_eq!(C.rotate_left(64), C);
|
||||
assert_eq!(B.rotate_left(128), B);
|
||||
assert_eq!(C.rotate_left(128), C);
|
||||
}
|
||||
+ */
|
||||
|
||||
|
@ -1 +1 @@
|
||||
nightly-2020-11-13
|
||||
nightly-2020-11-21
|
||||
|
@ -233,7 +233,7 @@ pub(crate) fn type_min_max_value(
|
||||
let min_msb = bcx.ins().iconst(types::I64, (min >> 64) as u64 as i64);
|
||||
let min = bcx.ins().iconcat(min_lsb, min_msb);
|
||||
|
||||
let max = i128::MIN as u128;
|
||||
let max = i128::MAX as u128;
|
||||
let max_lsb = bcx.ins().iconst(types::I64, max as u64 as i64);
|
||||
let max_msb = bcx.ins().iconst(types::I64, (max >> 64) as u64 as i64);
|
||||
let max = bcx.ins().iconcat(max_lsb, max_msb);
|
||||
|
Loading…
Reference in New Issue
Block a user