We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a3c9ca commit a286e29Copy full SHA for a286e29
crates/shim/src/util.rs
@@ -121,6 +121,7 @@ pub fn connect(address: impl AsRef<str>) -> Result<RawFd> {
121
#[cfg(not(target_os = "linux"))]
122
{
123
use std::os::fd::BorrowedFd;
124
+
125
use nix::fcntl::{fcntl, FcntlArg, FdFlag};
126
// SAFETY: fd is a valid file descriptor that we just created
127
let borrowed_fd = unsafe { BorrowedFd::borrow_raw(fd) };
0 commit comments