@@ -67,6 +67,9 @@ static MULTIBOOT2_HDR: &[u8; 64] = include_bytes!("mb2_hdr_dump.bin");
You may need a special linker script to place this in a LOAD segment with a file offset with less than 32768 bytes.
See specification.
+## MSRV
+The MSRV is 1.52.1 stable.
+
## License & Contribution
See main [README](https://github.com/rust-osdev/multiboot2/blob/main/README.md) file.
@@ -160,7 +160,7 @@ impl InformationRequestHeaderTagBuilder {
for tag in &self.irs {
let bytes: [u8; 4] = (*tag as u32).to_ne_bytes();
- data.extend(bytes);
+ data.extend(&bytes);
}
debug_assert_eq!(
@@ -29,6 +29,9 @@
//! println!("{:#?}", mb2_hdr);
//!
//! ```
+//!
+//! ## MSRV
+//! The MSRV is 1.52.1 stable.
#![no_std]
#![deny(rustdoc::all)]
@@ -30,6 +30,9 @@ other fields | variable
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`.
@@ -30,6 +30,9 @@
//! println!("{:?}", boot_info);
//! }
// this crate can use std in tests only
#[cfg_attr(test, macro_use)]