diff --git a/src/commands/run.rs b/src/commands/run.rs index 81c724bd7c48..0488a1691d3b 100644 --- a/src/commands/run.rs +++ b/src/commands/run.rs @@ -250,9 +250,6 @@ impl RunCommand { for address in &self.run.common.wasi.tcplisten { let stdlistener = std::net::TcpListener::bind(address) .with_context(|| format!("failed to bind to address '{}'", address))?; - - let _ = stdlistener.set_nonblocking(true)?; - listeners.push(TcpListener::from_std(stdlistener)) } Ok(listeners) @@ -874,7 +871,6 @@ fn ctx_set_listenfd(mut num_fd: usize, builder: &mut WasiCtxBuilder) -> Result