Skip to content

Commit

Permalink
Auto merge of #2119 - oherrala:64bit-musl-so-incoming-cpu, r=JohnTitor
Browse files Browse the repository at this point in the history
Define SO_INCOMING_CPU for {aarch64,x86_64}-unknown-linux-musl

This continues where #2115 left off and hopefully fixes `socket2` crate on these two targets.
  • Loading branch information
bors committed Mar 19, 2021
2 parents 9d710c1 + a045c09 commit ac93582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/musl/b64/aarch64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/musl/b64/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ac93582

Please sign in to comment.