Allow non-dummy feature to absorb dummy feature

This will allow building with --all-features
This commit is contained in:
Gary Guo 2023-08-05 16:01:57 +01:00
parent 29d292637b
commit 3a16126550

View File

@ -33,7 +33,7 @@ pub mod print;
#[cfg(feature = "personality")]
mod personality;
#[cfg(feature = "personality-dummy")]
#[cfg(all(not(feature = "personality"), feature = "personality-dummy"))]
mod personality_dummy;
#[cfg(feature = "panic")]
@ -43,7 +43,7 @@ pub mod panicking;
#[cfg(feature = "panic-handler")]
mod panic_handler;
#[cfg(feature = "panic-handler-dummy")]
#[cfg(all(not(feature = "panic-handler"), feature = "panic-handler-dummy"))]
mod panic_handler_dummy;
#[cfg(feature = "system-alloc")]