mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 16:33:24 +00:00
Copy the code from slab_allocator
into OSTD and add license header
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
f26c7a01cd
commit
a754accf6a
@ -19,6 +19,7 @@
|
||||
#![feature(ptr_sub_ptr)]
|
||||
#![feature(strict_provenance)]
|
||||
#![feature(sync_unsafe_cell)]
|
||||
#![feature(allocator_api)]
|
||||
// The `generic_const_exprs` feature is incomplete however required for the page table
|
||||
// const generic implementation. We are using this feature in a conservative manner.
|
||||
#![allow(incomplete_features)]
|
||||
|
Reference in New Issue
Block a user