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

Solaris 11.4 does support SOCK_CLOEXEC and SOCK_NONBLOCK #1328

Closed
QianNangong opened this issue May 29, 2020 · 4 comments
Closed

Solaris 11.4 does support SOCK_CLOEXEC and SOCK_NONBLOCK #1328

QianNangong opened this issue May 29, 2020 · 4 comments

Comments

@QianNangong
Copy link

#[cfg(any(target_os = "ios", target_os = "macos", target_os = "solaris"))]

According to their document https://docs.oracle.com/cd/E88353_01/html/E37843/socket-3c.html
but still not sure about previous versions.

@Thomasdezeeuw
Copy link
Collaborator

@frozen-tofu want to open a pr moving solaris from

#[cfg(any(target_os = "ios", target_os = "macos", target_os = "solaris"))]
to

mio/src/sys/unix/net.rs

Lines 26 to 34 in 68805cb

#[cfg(any(
target_os = "android",
target_os = "dragonfly",
target_os = "freebsd",
target_os = "illumos",
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd"
))]
?

@QianNangong
Copy link
Author

QianNangong commented May 29, 2020 via email

@Thomasdezeeuw
Copy link
Collaborator

Illumos now has a different target: #1295.

@Thomasdezeeuw
Copy link
Collaborator

We don't support Solaris (see #1152), illumos should work.

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

No branches or pull requests

2 participants