Auto merge of #2119 - oherrala:64bit-musl-so-incoming-cpu, r=JohnTitor

Define SO_INCOMING_CPU for {aarch64,x86_64}-unknown-linux-musl

This continues where https://github.com/rust-lang/libc/pull/2115 left off and hopefully fixes `socket2` crate on these two targets.
This commit is contained in:
bors 2021-03-19 09:13:24 +00:00
commit ac935822f6
2 changed files with 2 additions and 0 deletions

View File

@ -194,6 +194,7 @@ pub const SO_SNDBUFFORCE: ::c_int = 32;
pub const SO_RCVBUFFORCE: ::c_int = 33;
pub const SO_PROTOCOL: ::c_int = 38;
pub const SO_DOMAIN: ::c_int = 39;
pub const SO_INCOMING_CPU: ::c_int = 49;
pub const SA_ONSTACK: ::c_int = 0x08000000;
pub const SA_SIGINFO: ::c_int = 0x00000004;

View File

@ -827,6 +827,7 @@ pub const SO_SNDBUFFORCE: ::c_int = 32;
pub const SO_RCVBUFFORCE: ::c_int = 33;
pub const SO_PROTOCOL: ::c_int = 38;
pub const SO_DOMAIN: ::c_int = 39;
pub const SO_INCOMING_CPU: ::c_int = 49;
pub const MAP_ANON: ::c_int = 0x0020;
pub const MAP_GROWSDOWN: ::c_int = 0x0100;