Skip to content

Commit

Permalink
Merge pull request #43 from shamchak808/bugfix/no-std-breakingchange
Browse files Browse the repository at this point in the history
extern alloc only when 'alloc' feature is enabled
  • Loading branch information
Lymia authored May 8, 2023
2 parents bdd5f5c + a197177 commit 746a137
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enumset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
//! assert_eq!(set, Enum::A | Enum::E | Enum::G);
//! ```

#[cfg(feature = "alloc")]
extern crate alloc;

mod macros;
Expand Down

0 comments on commit 746a137

Please sign in to comment.