Skip to content

Commit 223edc9

Browse files
committed
Remove const_fn feature gate
This feature gate was removed from rust in rust-lang/rust#84510 and so no longer compiles in rust nightly.
1 parent 049d9bc commit 223edc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,12 @@
5555
//! }
5656
//! ```
5757
58-
#![cfg_attr(extprim_channel="unstable", feature(llvm_asm, test, specialization, const_fn))]
58+
#![cfg_attr(extprim_channel="unstable", feature(llvm_asm, test, specialization))]
5959
// feature requirement:
6060
// - llvm_asm: to provide a fast implementation of u64_long_mul in x86_64
6161
// - test: benchmarking
6262
// - specialization: to allow ToExtraPrimitive inherit from ToPrimitive, while ensuring conversion
6363
// between the 128-bit types remain correct
64-
// - const_fn: Create 128-bit constants
6564

6665
#![cfg_attr(not(feature="use-std"), no_std)]
6766

0 commit comments

Comments
 (0)