Skip to content

Commit

Permalink
chore: mark with #![no_std]
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Dec 8, 2024
1 parent 8ad70fe commit 7528ab4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package/origlang-slice-in-box/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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<I> = Box<[I]>;

Expand Down

0 comments on commit 7528ab4

Please sign in to comment.