diff options
author | Bruno Tavares <connect+github@bltavares.com> | 2020-06-29 22:08:52 -0300 |
---|---|---|
committer | Bruno Tavares <connect+github@bltavares.com> | 2020-07-04 19:41:38 -0300 |
commit | 0a97376ec2dc69c2efc49f7962db00004e59c2e1 (patch) | |
tree | 090e5e5caa8ce15f1433204c3f82732da5d5f75b /LICENSE | |
parent | 2542f81237be13e920d570b4a5c122916ac21814 (diff) | |
download | nix-0a97376ec2dc69c2efc49f7962db00004e59c2e1.zip |
Expose IP_PKTINFO Control Message on Android
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"` 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`
Also introduces iOS to allow using on libs for those platforms
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions