summaryrefslogtreecommitdiff
path: root/test/test_sched.rs
diff options
context:
space:
mode:
authorBruno Tavares <connect+github@bltavares.com>2020-06-29 22:08:52 -0300
committerBruno Tavares <connect+github@bltavares.com>2020-07-04 19:41:38 -0300
commit0a97376ec2dc69c2efc49f7962db00004e59c2e1 (patch)
tree090e5e5caa8ce15f1433204c3f82732da5d5f75b /test/test_sched.rs
parent2542f81237be13e920d570b4a5c122916ac21814 (diff)
downloadnix-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 'test/test_sched.rs')
0 files changed, 0 insertions, 0 deletions