Merge tag 'rust-7.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux

Pull rust addendum from Miguel Ojeda:
 "A second, tiny pull request later in the merge window with a small
  patch to simplify cross-tree development:

  'kernel' crate:

    - 'prelude' module: add 'zerocopy{,_derive}::IntoBytes'.

  This will simplify using 'zerocopy' in several trees next cycle"

* tag 'rust-7.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux:
  rust: prelude: add `zerocopy{,_derive}::IntoBytes`
This commit is contained in:
Linus Torvalds
2026-06-24 15:11:08 -07:00

View File

@@ -61,10 +61,16 @@
};
#[doc(no_inline)]
pub use zerocopy::FromBytes;
pub use zerocopy::{
FromBytes,
IntoBytes, //
};
#[doc(no_inline)]
pub use zerocopy_derive::FromBytes;
pub use zerocopy_derive::{
FromBytes,
IntoBytes, //
};
#[doc(no_inline)]
pub use super::{