Skip to content

Commit c3179bc

Browse files
committed
Rustup to rustc 1.50.0-nightly (593fe97 2020-11-20)
1 parent 77e90f1 commit c3179bc

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

build_sysroot/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/std_example.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ fn main() {
5353

5454
assert_eq!(0b0000000000000000000000000010000010000000000000000000000000000000_0000000000100000000000000000000000001000000000000100000000000000u128.leading_zeros(), 26);
5555
assert_eq!(0b0000000000000000000000000010000000000000000000000000000000000000_0000000000000000000000000000000000001000000000000000000010000000u128.trailing_zeros(), 7);
56+
assert_eq!(core::intrinsics::saturating_sub(0, -170141183460469231731687303715884105728i128), 170141183460469231731687303715884105727i128);
5657

5758
let _d = 0i128.checked_div(2i128);
5859
let _d = 0u128.checked_div(2u128);

patches/0022-core-Disable-not-compiling-tests.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ index 0475aeb..9558198 100644
5252
fn test_rotate() {
5353
assert_eq!(A.rotate_left(6).rotate_right(2).rotate_right(4), A);
5454
@@ -112,6 +113,7 @@ mod tests {
55-
assert_eq!(B.rotate_left(64), B);
56-
assert_eq!(C.rotate_left(64), C);
55+
assert_eq!(B.rotate_left(128), B);
56+
assert_eq!(C.rotate_left(128), C);
5757
}
5858
+ */
5959

@@ -72,8 +72,8 @@ index 04ed14f..a6e372e 100644
7272
fn test_rotate() {
7373
assert_eq!(A.rotate_left(6).rotate_right(2).rotate_right(4), A);
7474
@@ -76,6 +77,7 @@ mod tests {
75-
assert_eq!(B.rotate_left(64), B);
76-
assert_eq!(C.rotate_left(64), C);
75+
assert_eq!(B.rotate_left(128), B);
76+
assert_eq!(C.rotate_left(128), C);
7777
}
7878
+ */
7979

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2020-11-13
1+
nightly-2020-11-21

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ pub(crate) fn type_min_max_value(
233233
let min_msb = bcx.ins().iconst(types::I64, (min >> 64) as u64 as i64);
234234
let min = bcx.ins().iconcat(min_lsb, min_msb);
235235

236-
let max = i128::MIN as u128;
236+
let max = i128::MAX as u128;
237237
let max_lsb = bcx.ins().iconst(types::I64, max as u64 as i64);
238238
let max_msb = bcx.ins().iconst(types::I64, (max >> 64) as u64 as i64);
239239
let max = bcx.ins().iconcat(max_lsb, max_msb);

0 commit comments

Comments
 (0)