mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-10-02 14:54:30 +00:00
Change feature gating
This commit is contained in:
parent
410bc9c77e
commit
cbc1c5d781
@ -90,13 +90,10 @@ mod ser;
|
|||||||
|
|
||||||
pub mod binary_heap;
|
pub mod binary_heap;
|
||||||
pub mod i;
|
pub mod i;
|
||||||
#[cfg(feature = "cas")]
|
#[cfg(all(not(armv6m), feature = "cas"))]
|
||||||
pub mod mpmc;
|
pub mod mpmc;
|
||||||
#[cfg(feature = "cas")]
|
#[cfg(all(not(armv6m), feature = "cas"))]
|
||||||
pub mod pool;
|
pub mod pool;
|
||||||
pub mod spsc;
|
pub mod spsc;
|
||||||
|
|
||||||
#[cfg(all(armv6m, feature = "cas"))]
|
|
||||||
core::compile_error!("The 'cas' feature may not be used with `armv6m` targets.");
|
|
||||||
|
|
||||||
mod sealed;
|
mod sealed;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user