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

Regression: missing accept4(2) in 0.2.87 for arm-linux-androideabi target #2101

Closed
Thomasdezeeuw opened this issue Mar 5, 2021 · 3 comments · Fixed by #2102
Closed

Regression: missing accept4(2) in 0.2.87 for arm-linux-androideabi target #2101

Thomasdezeeuw opened this issue Mar 5, 2021 · 3 comments · Fixed by #2102
Labels

Comments

@Thomasdezeeuw
Copy link
Contributor

Missing accept4(2) in arm-linux-androideabi target in libc 0.2.87.

To reproduce:

[package]
name = "test"
version = "0.1.0"
authors = ["Thomas de Zeeuw <thomasdezeeuw@gmail.com>"]
edition = "2018"

[dependencies]
libc = "=0.2.86" # Change to to .87 to fail.
fn main() {
    unsafe { libc::accept4(0, std::ptr::null_mut(), std::ptr::null_mut(), 0) };
}

Related: tokio-rs/mio#1467.

@JohnTitor
Copy link
Member

Should be caused by #2079, cc @de-vri-es

@de-vri-es
Copy link
Contributor

Fix proposed in PR #2102

@Thomasdezeeuw
Copy link
Contributor Author

Thanks @de-vri-es and @JohnTitor for the quick fix and new release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants