Skip to content

Commit

Permalink
Remove const_fn feature gate
Browse files Browse the repository at this point in the history
This feature gate was removed from rust in
rust-lang/rust#84510 and so
no longer compiles in rust nightly.
  • Loading branch information
staktrace committed May 15, 2021
1 parent 049d9bc commit 223edc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

Expand Down

0 comments on commit 223edc9

Please sign in to comment.