non optional feature alloc

This commit is contained in:
Corwin 2022-02-23 20:58:48 +00:00
parent 6cc29ebec0
commit 592a0814f8
2 changed files with 1 additions and 4 deletions

View file

@ -15,8 +15,7 @@ lto = true
debug = true debug = true
[features] [features]
default = ["alloc"] default = []
alloc = []
freq18157 = ["agb_sound_converter/freq18157"] freq18157 = ["agb_sound_converter/freq18157"]
[dependencies] [dependencies]

View file

@ -136,9 +136,7 @@ pub use agb_macros::entry;
pub use agb_sound_converter::include_wav; pub use agb_sound_converter::include_wav;
#[cfg(feature = "alloc")]
extern crate alloc; extern crate alloc;
#[cfg(feature = "alloc")]
mod agb_alloc; mod agb_alloc;
mod arena; mod arena;