From 223edc91075d28b0818935c5a3a7459be1b19605 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Fri, 14 May 2021 21:38:52 -0400 Subject: [PATCH] Remove const_fn feature gate This feature gate was removed from rust in https://github.com/rust-lang/rust/issues/84510 and so no longer compiles in rust nightly. --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 656660a..8eb4f3c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,13 +55,12 @@ //! } //! ``` -#![cfg_attr(extprim_channel="unstable", feature(llvm_asm, test, specialization, const_fn))] +#![cfg_attr(extprim_channel="unstable", feature(llvm_asm, test, specialization))] // feature requirement: // - llvm_asm: to provide a fast implementation of u64_long_mul in x86_64 // - test: benchmarking // - specialization: to allow ToExtraPrimitive inherit from ToPrimitive, while ensuring conversion // between the 128-bit types remain correct -// - const_fn: Create 128-bit constants #![cfg_attr(not(feature="use-std"), no_std)]