Skip to content

Commit 047ff39

Browse files
devnexentatref
authored andcommitted
follow-up on rust-lang#2963, changing MSG* constant types for musl/emscripten.
1 parent e6326bf commit 047ff39

File tree

1 file changed

+0
-72
lines changed

1 file changed

+0
-72
lines changed

src/unix/linux_like/mod.rs

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -766,95 +766,23 @@ pub const PF_IEEE802154: ::c_int = AF_IEEE802154;
766766
pub const PF_CAIF: ::c_int = AF_CAIF;
767767
pub const PF_ALG: ::c_int = AF_ALG;
768768

769-
#[deprecated(
770-
since = "0.2.136",
771-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
772-
)]
773769
pub const MSG_OOB: ::c_int = 1;
774-
#[deprecated(
775-
since = "0.2.136",
776-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
777-
)]
778770
pub const MSG_PEEK: ::c_int = 2;
779-
#[deprecated(
780-
since = "0.2.136",
781-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
782-
)]
783771
pub const MSG_DONTROUTE: ::c_int = 4;
784-
#[deprecated(
785-
since = "0.2.136",
786-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
787-
)]
788772
pub const MSG_CTRUNC: ::c_int = 8;
789-
#[deprecated(
790-
since = "0.2.136",
791-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
792-
)]
793773
pub const MSG_TRUNC: ::c_int = 0x20;
794-
#[deprecated(
795-
since = "0.2.136",
796-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
797-
)]
798774
pub const MSG_DONTWAIT: ::c_int = 0x40;
799-
#[deprecated(
800-
since = "0.2.136",
801-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
802-
)]
803775
pub const MSG_EOR: ::c_int = 0x80;
804-
#[deprecated(
805-
since = "0.2.136",
806-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
807-
)]
808776
pub const MSG_WAITALL: ::c_int = 0x100;
809-
#[deprecated(
810-
since = "0.2.136",
811-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
812-
)]
813777
pub const MSG_FIN: ::c_int = 0x200;
814-
#[deprecated(
815-
since = "0.2.136",
816-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
817-
)]
818778
pub const MSG_SYN: ::c_int = 0x400;
819-
#[deprecated(
820-
since = "0.2.136",
821-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
822-
)]
823779
pub const MSG_CONFIRM: ::c_int = 0x800;
824-
#[deprecated(
825-
since = "0.2.136",
826-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
827-
)]
828780
pub const MSG_RST: ::c_int = 0x1000;
829-
#[deprecated(
830-
since = "0.2.136",
831-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
832-
)]
833781
pub const MSG_ERRQUEUE: ::c_int = 0x2000;
834-
#[deprecated(
835-
since = "0.2.136",
836-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
837-
)]
838782
pub const MSG_NOSIGNAL: ::c_int = 0x4000;
839-
#[deprecated(
840-
since = "0.2.136",
841-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
842-
)]
843783
pub const MSG_MORE: ::c_int = 0x8000;
844-
#[deprecated(
845-
since = "0.2.136",
846-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
847-
)]
848784
pub const MSG_WAITFORONE: ::c_int = 0x10000;
849-
#[deprecated(
850-
since = "0.2.136",
851-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
852-
)]
853785
pub const MSG_FASTOPEN: ::c_int = 0x20000000;
854-
#[deprecated(
855-
since = "0.2.136",
856-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
857-
)]
858786
pub const MSG_CMSG_CLOEXEC: ::c_int = 0x40000000;
859787

860788
pub const SCM_TIMESTAMP: ::c_int = SO_TIMESTAMP;

0 commit comments

Comments
 (0)