Skip to content

Commit 2b3adc9

Browse files
committed
Fix bind address in process-termination-blocking-io test
1 parent 2e749a5 commit 2b3adc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/process-termination/process-termination-blocking-io.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::{net::TcpListener, sync::mpsc, thread};
99
fn main() {
1010
let (tx, rx) = mpsc::channel();
1111
thread::spawn(move || {
12-
let listen = TcpListener::bind("0:0").unwrap();
12+
let listen = TcpListener::bind("0.0.0.0:0").unwrap();
1313
tx.send(()).unwrap();
1414
while let Ok(_) = listen.accept() {}
1515
});

0 commit comments

Comments
 (0)