Rollup merge of #150990 - uefi-run-test, r=joboet

std: sys: net: uefi: Make TcpStream Send

- Since UEFI has no threads, this should be safe.
- Makes compiling remote-test-server simpler.
This commit is contained in:
Jonathan Brouwer
2026-01-13 09:01:32 +01:00
committed by GitHub
@@ -9,6 +9,9 @@ pub(crate) enum Tcp {
V4(tcp4::Tcp4),
}
// SAFETY: UEFI has no threads.
unsafe impl Send for Tcp {}
impl Tcp {
pub(crate) fn connect(addr: &SocketAddr, timeout: Option<Duration>) -> io::Result<Self> {
match addr {