diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-07 00:12:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 00:12:35 +0000 |
commit | 4b6b14a0c2fabb0cdedf415aa0eece2752adc47e (patch) | |
tree | 090e5e5caa8ce15f1433204c3f82732da5d5f75b /test/test_unistd.rs | |
parent | 2542f81237be13e920d570b4a5c122916ac21814 (diff) | |
parent | 0a97376ec2dc69c2efc49f7962db00004e59c2e1 (diff) | |
download | nix-4b6b14a0c2fabb0cdedf415aa0eece2752adc47e.zip |
Merge #1265
1265: Expose IP_PKTINFO Control Message on Android and iOS r=asomers a=bltavares
The commit https://github.com/nix-rust/nix/pull/1222 added the very
useful Ipv4PktInfo to allow `sendmsg` to define the origin of the ip.
Unfortunattely, it didn't add the struct to Android target devices as
well. This commit adds the `target_os = "android"` and `target_os =" ios"` checks on the same
place to allow the compilation to work for the following archs tested:
- `cross build --target aarch64-linux-android`
- `cross build --target x86_64-linux-android`
- `cross build --target armv7-linux-androideabi`
- `cross build --target aarch64-apple-ios`
- `cross build --target x86_64-apple-ios`
Co-authored-by: Bruno Tavares <connect+github@bltavares.com>
Diffstat (limited to 'test/test_unistd.rs')
0 files changed, 0 insertions, 0 deletions