From 5e6ac305355e7df7becdd23e7e225d1717bf705d Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Tue, 8 Jan 2019 15:08:46 +0100 Subject: [PATCH] Rustup to rustc 1.33.0-nightly (8e2063d02 2019-01-07) --- patches/0002-Disable-u128-and-i128-in-libcore.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/0002-Disable-u128-and-i128-in-libcore.patch b/patches/0002-Disable-u128-and-i128-in-libcore.patch index c060b7c1882..81622ec9f43 100644 --- a/patches/0002-Disable-u128-and-i128-in-libcore.patch +++ b/patches/0002-Disable-u128-and-i128-in-libcore.patch @@ -989,8 +989,8 @@ index b12ee04..fe0faad 100644 const MICROS_PER_SEC: u64 = 1_000_000; -const MAX_NANOS_F64: f64 = ((u64::MAX as u128 + 1)*(NANOS_PER_SEC as u128)) as f64; - /// A `Duration` type to represent a span of time, typically used for system - /// timeouts. + /// The duration of one second. + #[unstable(feature = "duration_constants", issue = "57391")] @@ -260,54 +259,6 @@ impl Duration { #[inline] pub const fn subsec_nanos(&self) -> u32 { self.nanos }