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
Few socket updates related for Linux. #2849
Conversation
r? @Amanieu (rust-highfive has picked a reviewer for you, use r? to override) |
9f31ca3
to
cfb7e8b
Compare
@bors r+ |
Few socket updates related for Linux.
💔 Test failed - checks-actions |
Seems emscripten doesn't have them. |
cfb7e8b
to
317b100
Compare
@bors r+ |
Few socket updates related for Linux.
💔 Test failed - checks-actions |
...Also Android doesn't have |
f6da550
to
421c0ff
Compare
src/unix/linux_like/mod.rs
Outdated
@@ -775,6 +775,11 @@ pub const MSG_ERRQUEUE: ::c_int = 0x2000; | |||
pub const MSG_NOSIGNAL: ::c_int = 0x4000; | |||
pub const MSG_MORE: ::c_int = 0x8000; | |||
pub const MSG_WAITFORONE: ::c_int = 0x10000; | |||
cfg_if! { | |||
if #[cfg(not(all(target_os = "emscripten", target_os = "android")))] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you just move them to src/unix/linux_like/linux/mod.rs to avoid cfg complexity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah you re right
421c0ff
to
2b05c86
Compare
Thanks! @bors r+ |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
No description provided.