mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
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:
@@ -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::{
|
||||
|
||||
Reference in New Issue
Block a user