Skip to content

Commit 3cdabff

Browse files
committed
Auto merge of #2978 - devnexen:musl_emscripten_msg_constants, r=JohnTitor
follow-up on #2963, changing MSG* constant types for musl/emscripten.
2 parents 3ee203b + 4ba884a commit 3cdabff

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
@@ -759,95 +759,23 @@ pub const PF_IEEE802154: ::c_int = AF_IEEE802154;
759759
pub const PF_CAIF: ::c_int = AF_CAIF;
760760
pub const PF_ALG: ::c_int = AF_ALG;
761761

762-
#[deprecated(
763-
since = "0.2.136",
764-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
765-
)]
766762
pub const MSG_OOB: ::c_int = 1;
767-
#[deprecated(
768-
since = "0.2.136",
769-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
770-
)]
771763
pub const MSG_PEEK: ::c_int = 2;
772-
#[deprecated(
773-
since = "0.2.136",
774-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
775-
)]
776764
pub const MSG_DONTROUTE: ::c_int = 4;
777-
#[deprecated(
778-
since = "0.2.136",
779-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
780-
)]
781765
pub const MSG_CTRUNC: ::c_int = 8;
782-
#[deprecated(
783-
since = "0.2.136",
784-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
785-
)]
786766
pub const MSG_TRUNC: ::c_int = 0x20;
787-
#[deprecated(
788-
since = "0.2.136",
789-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
790-
)]
791767
pub const MSG_DONTWAIT: ::c_int = 0x40;
792-
#[deprecated(
793-
since = "0.2.136",
794-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
795-
)]
796768
pub const MSG_EOR: ::c_int = 0x80;
797-
#[deprecated(
798-
since = "0.2.136",
799-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
800-
)]
801769
pub const MSG_WAITALL: ::c_int = 0x100;
802-
#[deprecated(
803-
since = "0.2.136",
804-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
805-
)]
806770
pub const MSG_FIN: ::c_int = 0x200;
807-
#[deprecated(
808-
since = "0.2.136",
809-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
810-
)]
811771
pub const MSG_SYN: ::c_int = 0x400;
812-
#[deprecated(
813-
since = "0.2.136",
814-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
815-
)]
816772
pub const MSG_CONFIRM: ::c_int = 0x800;
817-
#[deprecated(
818-
since = "0.2.136",
819-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
820-
)]
821773
pub const MSG_RST: ::c_int = 0x1000;
822-
#[deprecated(
823-
since = "0.2.136",
824-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
825-
)]
826774
pub const MSG_ERRQUEUE: ::c_int = 0x2000;
827-
#[deprecated(
828-
since = "0.2.136",
829-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
830-
)]
831775
pub const MSG_NOSIGNAL: ::c_int = 0x4000;
832-
#[deprecated(
833-
since = "0.2.136",
834-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
835-
)]
836776
pub const MSG_MORE: ::c_int = 0x8000;
837-
#[deprecated(
838-
since = "0.2.136",
839-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
840-
)]
841777
pub const MSG_WAITFORONE: ::c_int = 0x10000;
842-
#[deprecated(
843-
since = "0.2.136",
844-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
845-
)]
846778
pub const MSG_FASTOPEN: ::c_int = 0x20000000;
847-
#[deprecated(
848-
since = "0.2.136",
849-
note = "recvmmsg call expects an unsigned type on musl/emscripten"
850-
)]
851779
pub const MSG_CMSG_CLOEXEC: ::c_int = 0x40000000;
852780

853781
pub const SCM_TIMESTAMP: ::c_int = SO_TIMESTAMP;

0 commit comments

Comments
 (0)