Skip to content

Commit

Permalink
Allow non-dummy feature to absorb dummy feature
Browse files Browse the repository at this point in the history
This will allow building with --all-features
  • Loading branch information
nbdd0121 committed Aug 5, 2023
1 parent 29d2926 commit 3a16126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand All @@ -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")]
Expand Down

0 comments on commit 3a16126

Please sign in to comment.