Files
asterinas/framework/aster-frame/src/prelude.rs
2024-06-03 22:16:02 +08:00

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,
};