diff options
Diffstat (limited to 'rust/kernel/lib.rs')
| -rw-r--r-- | rust/kernel/lib.rs | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs index c2d1b9375205..ed53169e795c 100644 --- a/rust/kernel/lib.rs +++ b/rust/kernel/lib.rs @@ -62,8 +62,10 @@ pub mod acpi;  pub mod alloc;  #[cfg(CONFIG_AUXILIARY_BUS)]  pub mod auxiliary; +pub mod bits;  #[cfg(CONFIG_BLOCK)]  pub mod block; +pub mod bug;  #[doc(hidden)]  pub mod build_assert;  pub mod clk; @@ -85,6 +87,7 @@ pub mod error;  pub mod faux;  #[cfg(CONFIG_RUST_FW_LOADER_ABSTRACTIONS)]  pub mod firmware; +pub mod fmt;  pub mod fs;  pub mod init;  pub mod io; @@ -213,6 +216,13 @@ fn panic(info: &core::panic::PanicInfo<'_>) -> ! {  /// Produces a pointer to an object from a pointer to one of its fields.  /// +/// If you encounter a type mismatch due to the [`Opaque`] type, then use [`Opaque::cast_into`] or +/// [`Opaque::cast_from`] to resolve the mismatch. +/// +/// [`Opaque`]: crate::types::Opaque +/// [`Opaque::cast_into`]: crate::types::Opaque::cast_into +/// [`Opaque::cast_from`]: crate::types::Opaque::cast_from +///  /// # Safety  ///  /// The pointer passed to this macro, and the pointer returned by this macro, must both be in  | 
