diff --git a/agb/src/agb_alloc/mod.rs b/agb/src/agb_alloc/mod.rs index d4e59fcc..79b10070 100644 --- a/agb/src/agb_alloc/mod.rs +++ b/agb/src/agb_alloc/mod.rs @@ -78,6 +78,7 @@ macro_rules! impl_zst_allocator { /// ); /// # } /// ``` +#[derive(Clone)] pub struct ExternalAllocator; impl_zst_allocator!(ExternalAllocator, GLOBAL_ALLOC); @@ -102,6 +103,7 @@ impl_zst_allocator!(ExternalAllocator, GLOBAL_ALLOC); /// ); /// # } /// ``` +#[derive(Clone)] pub struct InternalAllocator; impl_zst_allocator!(InternalAllocator, __IWRAM_ALLOC);