Skip to content

Commit ac93582

Browse files
committed
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 #2115 left off and hopefully fixes `socket2` crate on these two targets.
2 parents 9d710c1 + a045c09 commit ac93582

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/unix/linux_like/linux/musl/b64/aarch64/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ pub const SO_SNDBUFFORCE: ::c_int = 32;
194194
pub const SO_RCVBUFFORCE: ::c_int = 33;
195195
pub const SO_PROTOCOL: ::c_int = 38;
196196
pub const SO_DOMAIN: ::c_int = 39;
197+
pub const SO_INCOMING_CPU: ::c_int = 49;
197198

198199
pub const SA_ONSTACK: ::c_int = 0x08000000;
199200
pub const SA_SIGINFO: ::c_int = 0x00000004;

src/unix/linux_like/linux/musl/b64/x86_64/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,7 @@ pub const SO_SNDBUFFORCE: ::c_int = 32;
827827
pub const SO_RCVBUFFORCE: ::c_int = 33;
828828
pub const SO_PROTOCOL: ::c_int = 38;
829829
pub const SO_DOMAIN: ::c_int = 39;
830+
pub const SO_INCOMING_CPU: ::c_int = 49;
830831

831832
pub const MAP_ANON: ::c_int = 0x0020;
832833
pub const MAP_GROWSDOWN: ::c_int = 0x0100;

0 commit comments

Comments
 (0)