From e407f39ba89c7ffeed4eba4ffe0688c0f80b5c9f Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Tue, 4 Sep 2018 18:26:49 +0200 Subject: [PATCH] Rustup to rustc 1.30.0-nightly (0f063aef6 2018-09-03) --- 0005-Disable-some-more-unsupported-stuff-in-libcore.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/0005-Disable-some-more-unsupported-stuff-in-libcore.patch b/0005-Disable-some-more-unsupported-stuff-in-libcore.patch index 855e96feedd2..0fff0728c066 100644 --- a/0005-Disable-some-more-unsupported-stuff-in-libcore.patch +++ b/0005-Disable-some-more-unsupported-stuff-in-libcore.patch @@ -70,8 +70,10 @@ index 5d00949..f077f1d 100644 @@ -2295,7 +2297,9 @@ assert_eq!(m, ", $reversed, "); #[unstable(feature = "reverse_bits", issue = "48763")] + #[rustc_const_unstable(feature = "const_int_conversion")] #[inline] - pub fn reverse_bits(self) -> Self { + #[cfg(not(stage0))] + pub const fn reverse_bits(self) -> Self { - unsafe { intrinsics::bitreverse(self as $ActualT) as Self } + // TODO support bitreverse + //unsafe { intrinsics::bitreverse(self as $ActualT) as Self }