From 592a0814f8035fb4000df254754d61931f2960ed Mon Sep 17 00:00:00 2001 From: Corwin Date: Wed, 23 Feb 2022 20:58:48 +0000 Subject: [PATCH] non optional feature alloc --- agb/Cargo.toml | 3 +-- agb/src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/agb/Cargo.toml b/agb/Cargo.toml index 8821c6e4..be4f27a3 100644 --- a/agb/Cargo.toml +++ b/agb/Cargo.toml @@ -15,8 +15,7 @@ lto = true debug = true [features] -default = ["alloc"] -alloc = [] +default = [] freq18157 = ["agb_sound_converter/freq18157"] [dependencies] diff --git a/agb/src/lib.rs b/agb/src/lib.rs index 13977637..181d9c04 100644 --- a/agb/src/lib.rs +++ b/agb/src/lib.rs @@ -136,9 +136,7 @@ pub use agb_macros::entry; pub use agb_sound_converter::include_wav; -#[cfg(feature = "alloc")] extern crate alloc; -#[cfg(feature = "alloc")] mod agb_alloc; mod arena;