1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

unix_sockets is deprecated, use std::os::unix::net instead

This commit is contained in:
Niyaz Nigmatullin 2022-08-20 17:02:29 +03:00
parent 5b6cd6146b
commit 306272bf60
8 changed files with 22 additions and 51 deletions

View file

@ -453,9 +453,9 @@ fn test_dev_full_show_all() {
#[ignore]
fn test_domain_socket() {
use std::io::prelude::*;
use std::os::unix::net::UnixListener;
use std::sync::{Arc, Barrier};
use std::thread;
use unix_socket::UnixListener;
let dir = tempfile::Builder::new()
.prefix("unix_socket")