File tree Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ static MULTIBOOT2_HDR: &[u8; 64] = include_bytes!("mb2_hdr_dump.bin");
6767You may need a special linker script to place this in a LOAD segment with a file offset with less than 32768 bytes.
6868See specification.
6969
70+ ## MSRV
71+ The MSRV is 1.52.1 stable.
72+
7073## License & Contribution
7174
7275See main [ README] ( https://github.com/rust-osdev/multiboot2/blob/main/README.md ) file.
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ impl InformationRequestHeaderTagBuilder {
160160
161161 for tag in & self . irs {
162162 let bytes: [ u8 ; 4 ] = ( * tag as u32 ) . to_ne_bytes ( ) ;
163- data. extend ( bytes) ;
163+ data. extend ( & bytes) ;
164164 }
165165
166166 debug_assert_eq ! (
Original file line number Diff line number Diff line change 2929//! println!("{:#?}", mb2_hdr);
3030//!
3131//! ```
32+ //!
33+ //! ## MSRV
34+ //! The MSRV is 1.52.1 stable.
3235
3336#![ no_std]
3437#![ deny( rustdoc:: all) ]
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ other fields | variable
3030
3131All tags and the mbi itself are 8-byte aligned. The last tag must be the _ end tag_ , which is a tag of type ` 0 ` and size ` 8 ` .
3232
33+ ## MSRV
34+ The MSRV is 1.52.1 stable.
35+
3336## License & Contribution
3437
3538See main [ README] ( https://github.com/rust-osdev/multiboot2/blob/main/README.md ) file.
Original file line number Diff line number Diff line change 3030//! println!("{:?}", boot_info);
3131//! }
3232//! ```
33+ //!
34+ //! ## MSRV
35+ //! The MSRV is 1.52.1 stable.
3336
3437// this crate can use std in tests only
3538#[ cfg_attr( test, macro_use) ]
You can’t perform that action at this time.
0 commit comments