diff --git a/0005-Disable-some-more-unsupported-stuff-in-libcore.patch b/0005-Disable-some-more-unsupported-stuff-in-libcore.patch index 855e96feedd..0fff0728c06 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 }