chore(deps): bump rust to 1.98.1, bump all images, and dependencies (#97)

This commit is contained in:
alex authored and GitHub committed 2026-09-25 11:28:32 -07:00
1 parent 0e4452b625
commit 29cdc75776
13 files changed
+54 -64

No files matched your search

+2 -2
View File
@@ -48,11 +48,11 @@ fn read(input: &mut Input, timeout: &Duration) -> Result<MenuOperation> {
let trigger = TimerTrigger::Relative(*timeout);
uefi::boot::set_timer(&timer_event, trigger).context("unable to set timeout timer")?;
let mut events = vec![timer_event, key_event];
let events = vec![timer_event, key_event];
// Wait for either the timer event or the key event to trigger.
// Store the result so that we can free the timer event.
let event_result = uefi::boot::wait_for_event(&mut events)
let event_result = uefi::boot::wait_for_event(&events)
.discard_errdata()
.context("unable to wait for event");
+3 -1
View File
@@ -12,7 +12,9 @@ pub fn utf16_bytes_to_cstring16(bytes: &[u8]) -> Result<CString16> {
// Convert the bytes to UTF-16 data.
let data = bytes
// Chunk everything into two bytes.
.chunks_exact(2)
.as_chunks::<2>()
.0
.iter()
// Reinterpret the bytes as u16 little-endian.
.map(|chunk| u16::from_le_bytes([chunk[0], chunk[1]]))
// Collect the result into a vector.