Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.

Commit e3f165d

Browse files
committed
fix(unix,smol): avoid setting nonblocking
1 parent f31c3e0 commit e3f165d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sys/unix/smol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub struct SmolAdapter(Async<UnixAdapter>);
1010

1111
impl Adapter for SmolAdapter {
1212
fn new(runtime: &Runtime) -> io::Result<Self> {
13-
Ok(Self(Async::new(UnixAdapter::new(runtime)?)?))
13+
Ok(Self(Async::new_nonblocking(UnixAdapter::new(runtime)?)?))
1414
}
1515

1616
async fn wait(&self, timeout: Option<Duration>) -> io::Result<()> {

0 commit comments

Comments
 (0)