mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 01:13:23 +00:00
17 lines
363 B
Rust
17 lines
363 B
Rust
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//! The prelude.
|
|
|
|
pub type Result<T> = core::result::Result<T, crate::error::Error>;
|
|
|
|
pub(crate) use alloc::{boxed::Box, sync::Arc, vec::Vec};
|
|
pub(crate) use core::any::Any;
|
|
|
|
pub use aster_main::aster_main;
|
|
|
|
pub use crate::{
|
|
early_print as print, early_println as println,
|
|
mm::{Paddr, Vaddr},
|
|
panicking::abort,
|
|
};
|