rust-osdev / uefi-rs

Rusty wrapper for the Unified Extensible Firmware Interface (UEFI). This crate makes it easy to develop Rust software that leverages safe, convenient, and performant abstractions for UEFI functionality.
https://rust-osdev.com/uefi-book
Mozilla Public License 2.0
1.29k stars 155 forks source link

uefi: Add uefi::runtime::variable_exists #1392

Closed nicholasbishop closed 2 weeks ago

nicholasbishop commented 2 weeks ago

This is a slightly more convenient alternative to get_variable when you only want to know if a variable exists. Useful if you want to set a variable only if it is not already set.

Checklist