Comment Comment by jhoechtl Isn't stuff like that exactly counteracting Rusts raison d'etre?> // This is safe; nothing else will use or hold onto the raw sock fd.> Ok(unsafe { net::UdpSocket::from_raw_fd(sock) })https://chromium.googlesource.com/chromiumos/platform/crosvm... parent jhoechtl 9 years ago
> // This is safe; nothing else will use or hold onto the raw sock fd.
> Ok(unsafe { net::UdpSocket::from_raw_fd(sock) })
https://chromium.googlesource.com/chromiumos/platform/crosvm...