proper use of features for compilation

This commit is contained in:
Alex Vlasov 2019-02-10 01:44:01 +03:00
parent 3f766246de
commit 2327a4527b

@ -18,12 +18,12 @@ pub mod sonic;
mod group;
mod source;
#[feature(not(singlecore))]
#[cfg(not(feature = "singlecore"))]
mod parallel_fft;
mod multicore;
mod parallel_multiexp;
#[feature(singlecore)]
#[cfg(feature = "singlecore")]
mod serial_fft;
mod serial_multiexp;
@ -42,10 +42,10 @@ use std::marker::PhantomData;
pub mod multiexp {
pub use source::*;
#[feature(not(singlecore))]
#[cfg(not(feature = "singlecore"))]
pub use parallel_multiexp::*;
#[feature(singlecore)]
#[cfg(feature = "singlecore")]
pub use serial_multiexp::*;
}