diff --git a/example/mini_core.rs b/example/mini_core.rs index 230009741dc..cc3d647c8c8 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -472,6 +472,7 @@ pub trait Allocator { impl Allocator for () {} +#[lang = "global_alloc_ty"] pub struct Global; impl Allocator for Global {}