diff options
| author | Ayush Singh <ayush@beagleboard.org> | 2025-02-06 10:25:40 +0530 |
|---|---|---|
| committer | Ayush Singh <ayush@beagleboard.org> | 2025-02-06 10:25:40 +0530 |
| commit | 46272855a65c9f4adac8184cb107597b44c739ea (patch) | |
| tree | f10902c041b81dc9aba3f4d2dce31cf6c130330f /library/std/src/sys/net/mod.rs | |
| parent | 30865107cb8942ab8eaf9baf8d3aa2a6dec2643f (diff) | |
| download | rust-46272855a65c9f4adac8184cb107597b44c739ea.tar.gz rust-46272855a65c9f4adac8184cb107597b44c739ea.zip | |
sys: net: Add UEFI stubs
- Just a copy of sys/net/unsupported. - Will make the future net PRs easier to review. Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Diffstat (limited to 'library/std/src/sys/net/mod.rs')
| -rw-r--r-- | library/std/src/sys/net/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/std/src/sys/net/mod.rs b/library/std/src/sys/net/mod.rs index 5aa197fbc0d..646679a1cc8 100644 --- a/library/std/src/sys/net/mod.rs +++ b/library/std/src/sys/net/mod.rs @@ -25,6 +25,11 @@ cfg_if::cfg_if! { mod xous; pub use xous::*; } + } else if #[cfg(target_os = "uefi")] { + mod connection { + mod uefi; + pub use uefi::*; + } } else { mod connection { mod unsupported; |
