From 7528ab42312368960d0266ba68e3eb02a626d20b Mon Sep 17 00:00:00 2001 From: Kisaragi Marine Date: Sun, 8 Dec 2024 14:42:59 +0900 Subject: [PATCH] chore: mark with `#![no_std]` --- package/origlang-slice-in-box/src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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]>;