File tree 2 files changed +12
-1
lines changed
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/).
13
13
### Fixed
14
14
### Removed
15
15
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
+
16
20
## [ 0.20.0] - 20 February 2021
17
21
### Added
18
22
Original file line number Diff line number Diff line change @@ -1481,7 +1481,14 @@ pub fn accept(sockfd: RawFd) -> Result<RawFd> {
1481
1481
/// Accept a connection on a socket
1482
1482
///
1483
1483
/// [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
+ ) ,
1485
1492
target_os = "freebsd" ,
1486
1493
target_os = "linux" ,
1487
1494
target_os = "openbsd" ) ) ]
You can’t perform that action at this time.
0 commit comments