about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-11 12:21:07 +1000
committerGitHub <noreply@github.com>2025-08-11 12:21:07 +1000
commit3724e13cc7de90804ff6be508cd47ee8d979feb8 (patch)
treeeb82f88890d546f2ada964379525edf749f1f2dd /compiler/rustc_errors/src
parent2c314f93d3303f9cd756adb29aae929785e886ac (diff)
parent6e75abd0aa4f22f6291f1a25ff81e0c6b959ad26 (diff)
downloadrust-3724e13cc7de90804ff6be508cd47ee8d979feb8.tar.gz
rust-3724e13cc7de90804ff6be508cd47ee8d979feb8.zip
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``
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions