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");
67
67
You may need a special linker script to place this in a LOAD segment with a file offset with less than 32768 bytes.
68
68
See specification.
69
69
70
+ ## MSRV
71
+ The MSRV is 1.52.1 stable.
72
+
70
73
## License & Contribution
71
74
72
75
See 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 {
160
160
161
161
for tag in & self . irs {
162
162
let bytes: [ u8 ; 4 ] = ( * tag as u32 ) . to_ne_bytes ( ) ;
163
- data. extend ( bytes) ;
163
+ data. extend ( & bytes) ;
164
164
}
165
165
166
166
debug_assert_eq ! (
Original file line number Diff line number Diff line change 29
29
//! println!("{:#?}", mb2_hdr);
30
30
//!
31
31
//! ```
32
+ //!
33
+ //! ## MSRV
34
+ //! The MSRV is 1.52.1 stable.
32
35
33
36
#![ no_std]
34
37
#![ deny( rustdoc:: all) ]
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ other fields | variable
30
30
31
31
All 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 ` .
32
32
33
+ ## MSRV
34
+ The MSRV is 1.52.1 stable.
35
+
33
36
## License & Contribution
34
37
35
38
See main [ README] ( https://github.com/rust-osdev/multiboot2/blob/main/README.md ) file.
Original file line number Diff line number Diff line change 30
30
//! println!("{:?}", boot_info);
31
31
//! }
32
32
//! ```
33
+ //!
34
+ //! ## MSRV
35
+ //! The MSRV is 1.52.1 stable.
33
36
34
37
// this crate can use std in tests only
35
38
#[ cfg_attr( test, macro_use) ]
You can’t perform that action at this time.
0 commit comments