treewide: bump to MSRV 1.91

Required by some of our new deps. Rust 1.91 was released on October 30th
2025, so 7 months ago.
This commit is contained in:
Philipp Schuster 2026-05-31 21:10:36 +02:00
parent 4554296e36
commit 89def6ad01
No known key found for this signature in database
4 changed files with 6 additions and 4 deletions

View file

@ -17,7 +17,7 @@ edition = "2024"
keywords = ["uefi", "efi"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-osdev/uefi-rs"
rust-version = "1.88"
rust-version = "1.91"
[workspace.dependencies]
bitflags = "2.0.0"

View file

@ -3,7 +3,7 @@
## Added
## Changed
- MSRV increased from 1.88 to 1.91.
# uefi-macros - v0.19 (2025-10-21)

View file

@ -4,6 +4,7 @@
- Added `proto::console::text::InputEx`.
## Changed
- MSRV increased from 1.88 to 1.91.
- **Breaking:** The variants of `TimerTrigger` now hold a `Duration`
- **Breaking:** The `driver_image` parameter of `boot::connect_controller` is
now a `None`-terminated slice. Callers that previously passed `None` for this

View file

@ -484,8 +484,9 @@ impl BaseCode {
// Translate IP types back into the higher-level types.
let fn_replace_ip = |core_ip: &mut Option<&mut IpAddr>, efi_ip: Option<EfiIpAddr>| {
// TODO use let-chain once we are on MSRV 1.88
if let (Some(core_ip_location), Some(efi_ip)) = (core_ip, efi_ip) {
if let Some(core_ip_location) = core_ip
&& let Some(efi_ip) = efi_ip
{
// SAFETY: We trust that `using_ipv6()` tells the truth.
let core_ip = unsafe { efi_ip.into_core_addr(self.mode().using_ipv6()) };
**core_ip_location = core_ip;