Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust/tokio do not include unixstream at all on windows #43

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

bobzilladev
Copy link
Contributor

Adventures in Cross-Compiling found that UnixStream is not included at all in std on windows, so this PR cfg's it out.

Rust supports abstract linux sockets: rust-lang/rust#14194
But not windows 10 or 11's unix sockets: rust-lang/rust#56533
There is a crate to support uds on windows, will look into that at some point (along with windows pipes): https://crates.io/crates/uds_windows

@bobzilladev bobzilladev merged commit 313921c into main Jan 9, 2023
@bobzilladev bobzilladev deleted the bob/windont branch January 9, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants