File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1313### Fixed
1414### Removed
1515
16+ - Removed ` sys::socket::accept4 ` from Android arm because libc removed it in
17+ version 0.2.87.
18+ ([ #1399 ] ( https://github.com/nix-rust/nix/pull/1399 ) )
19+
1620## [ 0.20.0] - 20 February 2021
1721### Added
1822
Original file line number Diff line number Diff line change @@ -1481,7 +1481,14 @@ pub fn accept(sockfd: RawFd) -> Result<RawFd> {
14811481/// Accept a connection on a socket
14821482///
14831483/// [Further reading](http://man7.org/linux/man-pages/man2/accept.2.html)
1484- #[ cfg( any( target_os = "android" ,
1484+ #[ cfg( any( all(
1485+ target_os = "android" ,
1486+ any(
1487+ target_arch = "aarch64" ,
1488+ target_arch = "x86" ,
1489+ target_arch = "x86_64"
1490+ )
1491+ ) ,
14851492 target_os = "freebsd" ,
14861493 target_os = "linux" ,
14871494 target_os = "openbsd" ) ) ]
You can’t perform that action at this time.
0 commit comments