Fix Windows build: use host_env::errno::errors::EISCONN · RustPython/RustPython@144bb70 · GitHub
Skip to content

Commit 144bb70

Browse files
committed
Fix Windows build: use host_env::errno::errors::EISCONN
c::EISCONN works on unix via libc but the Windows c:: re-export list does not include it. Route through rustpython_host_env::errno::errors where EISCONN is mapped to WSAEISCONN on Windows.
1 parent 1ad8312 commit 144bb70

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

crates/stdlib/src/socket.rs

Lines changed: 5 additions & 1 deletion

0 commit comments

Comments
 (0)