Allow non-dummy feature to absorb dummy feature
This will allow building with --all-features
This commit is contained in:
parent
29d292637b
commit
3a16126550
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user