rust/library/std/src/sys
Stuart Cook 3724e13cc7
Rollup merge of #144350 - Ayush1325:uefi-io, r=tgross35,nicholasbishop
std: sys: io: io_slice: Add UEFI types

UEFI networking APIs do support vectored read/write. While the types for UDP4, UDP6, TCP4 and TCP6 are defined separately, they are essentially the same C struct. So we can map IoSlice and IoSliceMut to have the same binary representation.

Since all UEFI networking types for read/write are DSTs, `IoSlice` and `IoSliceMut` will need to be copied to the end of the transmit/receive structures. So having the same binary representation just allows us to do a single memcpy instead of having to loop and set the DST.

cc ``@nicholasbishop``
2025-08-11 12:21:07 +10:00
..
alloc Add new Tier-3 targets: loongarch32-unknown-none* 2025-06-06 08:19:38 +08:00
anonymous_pipe Mv os-specific trait impl of Pipe* into std::os::* 2025-03-14 01:03:56 +11:00
args Change visibility of Args new function 2025-08-02 10:46:29 -07:00
env use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
fd Rollup merge of #139667 - 1c3t3a:remove-no-sanitize, r=m-ou-se 2025-04-17 00:16:21 +02:00
fs Replace unsafe function with safe alternative 2025-08-09 07:05:12 +00:00
io std: sys: io: io_slice: Add UEFI types 2025-08-04 20:02:01 +05:30
net Rollup merge of #143838 - Ayush1325:uefi-tcp4-config-data, r=tgross35 2025-07-24 15:08:20 +02:00
os_str Rollup merge of #141467 - cyrgani:const-empty-stringlikes, r=Amanieu 2025-06-04 07:54:33 +02:00
pal Rollup merge of #144350 - Ayush1325:uefi-io, r=tgross35,nicholasbishop 2025-08-11 12:21:07 +10:00
path setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
personality Add new Tier-3 targets: loongarch32-unknown-none* 2025-06-06 08:19:38 +08:00
process Replace unsafe function with safe alternative 2025-08-09 07:05:12 +00:00
random Remove [T]::array_chunks(_mut) 2025-07-27 23:03:07 -07:00
stdio Rollup merge of #139517 - Ayush1325:uefi-cmd-stdin-null, r=joboet 2025-04-15 15:47:25 +10:00
sync Add comment why we use zero for COMPLETE 2025-07-13 12:37:34 +02:00
thread_local Fix broken TLS destructors on 32-bit win7 2025-07-21 13:11:47 +02:00
backtrace.rs Add experimental backtrace-trace-only std feature 2025-07-14 11:52:17 +00:00
cmath.rs Initial implementation of core_float_math 2025-05-13 22:08:18 +00:00
configure_builtins.rs Dynamically enable LSE for aarch64 rust provided intrinsics 2025-08-05 10:35:13 -05:00
env_consts.rs Move zkVM constants into sys::env_consts 2025-04-21 21:05:04 -07:00
exit_guard.rs std: use the address of errno to identify threads in unique_thread_exit 2025-04-01 13:35:16 +02:00
mod.rs Dynamically enable LSE for aarch64 rust provided intrinsics 2025-08-05 10:35:13 -05:00