Skip to content

Commit

Permalink
Merge pull request #642 from KisaragiEffective/chore/sib/no-std
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored Dec 8, 2024
2 parents 2670dcd + 7528ab4 commit bad1df8
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 bad1df8

Please sign in to comment.