mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-09-27 12:30:35 +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 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user