diff options
| author | Ayush Singh <ayushsingh1325@gmail.com> | 2022-12-18 09:54:54 +0530 |
|---|---|---|
| committer | Ayush Singh <ayushdevel1325@gmail.com> | 2023-09-22 17:23:30 +0530 |
| commit | 48c6ae0611ec6fb4094a24610982ddefde16e20f (patch) | |
| tree | 9d1554238f804bed880ed58b1ee2230c0019e723 /library/std/src/sys/mod.rs | |
| parent | 5a4e47ebedb4132168c1b22262f21f0d3a2a96df (diff) | |
| download | rust-48c6ae0611ec6fb4094a24610982ddefde16e20f.tar.gz rust-48c6ae0611ec6fb4094a24610982ddefde16e20f.zip | |
Add Minimal Std implementation for UEFI
Implemented modules: 1. alloc 2. os_str 3. env 4. math Tracking Issue: https://github.com/rust-lang/rust/issues/100499 API Change Proposal: https://github.com/rust-lang/libs-team/issues/87 This was originally part of https://github.com/rust-lang/rust/pull/100316. Since that PR was becoming too unwieldy and cluttered, and with suggestion from @dvdhrm, I have extracted a minimal std implementation to this PR. Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
Diffstat (limited to 'library/std/src/sys/mod.rs')
| -rw-r--r-- | library/std/src/sys/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs index 457eb782ccc..a03501e6a13 100644 --- a/library/std/src/sys/mod.rs +++ b/library/std/src/sys/mod.rs @@ -47,6 +47,9 @@ cfg_if::cfg_if! { } else if #[cfg(target_os = "xous")] { mod xous; pub use self::xous::*; + } else if #[cfg(target_os = "uefi")] { + mod uefi; + pub use self::uefi::*; } else if #[cfg(all(target_vendor = "fortanix", target_env = "sgx"))] { mod sgx; pub use self::sgx::*; |
