Skip to content

Commit f962e73

Browse files
authored
Merge pull request #106 from rust-osdev/doc-msrv
publicly announce the MSRV is 1.52.1.
2 parents 76a3d2e + 7300e24 commit f962e73

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

multiboot2-header/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ static MULTIBOOT2_HDR: &[u8; 64] = include_bytes!("mb2_hdr_dump.bin");
6767
You may need a special linker script to place this in a LOAD segment with a file offset with less than 32768 bytes.
6868
See specification.
6969

70+
## MSRV
71+
The MSRV is 1.52.1 stable.
72+
7073
## License & Contribution
7174

7275
See main [README](https://github.com/rust-osdev/multiboot2/blob/main/README.md) file.

multiboot2-header/src/information_request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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!(

multiboot2-header/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
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)]

multiboot2/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ other fields | variable
3030

3131
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`.
3232

33+
## MSRV
34+
The MSRV is 1.52.1 stable.
35+
3336
## License & Contribution
3437

3538
See main [README](https://github.com/rust-osdev/multiboot2/blob/main/README.md) file.

multiboot2/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
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)]

0 commit comments

Comments
 (0)