-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for uefi-std #100499
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(uefi_std)]This is a tracking issue for Std support for UEFI environment. I have been working on implementing this as a part of my Google Summer of Code 2022 project. Information about the current state of this implementation can be found at
src/doc/rustc/src/platform-support/unknown-uefi.md. A PR has already been opened hereFor those who are wondering how a target like UEFI can benefit from std support, here are a few examples:
Public API
APIs I propose to add under
std::os::uefi::env:pub fn get_system_table() -> NonNull<c_void>pub fn get_system_handle() -> NonNull<c_void>pub fn boot_services() -> Option<NonNull<c_void>>APIs I propose to add under
std::os::uefi::ffi(Just re-exportstd::os::windows::ffi)OsStrExtOsStringExtImplementation History