diff --git a/package/origlang-slice-in-box/src/lib.rs b/package/origlang-slice-in-box/src/lib.rs index db5a6ba..8270167 100644 --- a/package/origlang-slice-in-box/src/lib.rs +++ b/package/origlang-slice-in-box/src/lib.rs @@ -1,5 +1,8 @@ -use std::alloc::{alloc, Layout}; -use std::mem::MaybeUninit; +#![no_std] + +extern crate alloc; + +use alloc::boxed::Box; pub type BoxedSlice = Box<[I]>;