Change feature gating

This commit is contained in:
James Munns 2019-12-17 17:01:09 +01:00
parent 410bc9c77e
commit cbc1c5d781

View File

@ -90,13 +90,10 @@ mod ser;
pub mod binary_heap;
pub mod i;
#[cfg(feature = "cas")]
#[cfg(all(not(armv6m), feature = "cas"))]
pub mod mpmc;
#[cfg(feature = "cas")]
#[cfg(all(not(armv6m), feature = "cas"))]
pub mod pool;
pub mod spsc;
#[cfg(all(armv6m, feature = "cas"))]
core::compile_error!("The 'cas' feature may not be used with `armv6m` targets.");
mod sealed;