git: 2c1fae073f46 - main - lang/rust-nightly: Update to 1.75.0.20231002

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Tue, 03 Oct 2023 14:46:51 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2c1fae073f4646e659bbf8f11aa0ee651c41d434

commit 2c1fae073f4646e659bbf8f11aa0ee651c41d434
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-10-03 13:58:42 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-10-03 14:37:50 +0000

    lang/rust-nightly: Update to 1.75.0.20231002
    
    https://github.com/rust-lang/rust/compare/37998ab508d5d9fa0d465d7b535dc673087dda8f...2e5a9dd6c9eaa42f0684b4b760bd68fc27cbe51b
---
 lang/rust-nightly/Makefile                         |  6 ++---
 lang/rust-nightly/distinfo                         | 18 +++++++--------
 .../patch-library_std_src_os_unix_net_ancillary.rs | 27 ----------------------
 3 files changed, 12 insertions(+), 39 deletions(-)

diff --git a/lang/rust-nightly/Makefile b/lang/rust-nightly/Makefile
index 069acf0ef26d..eb05b8c6b487 100644
--- a/lang/rust-nightly/Makefile
+++ b/lang/rust-nightly/Makefile
@@ -1,5 +1,5 @@
 # Run update.sh to update to the latest nightly
-PORTVERSION=	1.72.0.${NIGHTLY_DATE:C,-,,g}
+PORTVERSION=	1.75.0.${NIGHTLY_DATE:C,-,,g}
 # Always set PORTREVISION explicitly as otherwise it is inherited from lang/rust
 PORTREVISION=	0
 PKGNAMESUFFIX=	-nightly
@@ -14,8 +14,8 @@ MASTERDIR=	${.CURDIR}/../rust
 PATCHDIR=	${.CURDIR}/files
 DISTINFO_FILE=	${.CURDIR}/distinfo
 
-NIGHTLY_DATE=		2023-06-12
-BOOTSTRAPS_DATE=	2023-05-30
+NIGHTLY_DATE=		2023-10-02
+BOOTSTRAPS_DATE=	2023-08-22
 RUST_BOOTSTRAP_VERSION=	beta
 
 .include "${MASTERDIR}/Makefile"
diff --git a/lang/rust-nightly/distinfo b/lang/rust-nightly/distinfo
index 8e5c9d60eb59..c10146b080a5 100644
--- a/lang/rust-nightly/distinfo
+++ b/lang/rust-nightly/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1686662255
-SHA256 (rust/2023-06-12/rustc-nightly-src.tar.xz) = 327c46f4ba914ba8fd71f5ed067f0abd4880694bd7fd9d5e8b8b89a260dc4971
-SIZE (rust/2023-06-12/rustc-nightly-src.tar.xz) = 152486760
-SHA256 (rust/2023-05-30/rustc-beta-x86_64-unknown-freebsd.tar.xz) = f385fe29efd16b08d8f0a7c71450a7880d640992d762f941468ecf57d6d6cd35
-SIZE (rust/2023-05-30/rustc-beta-x86_64-unknown-freebsd.tar.xz) = 72869772
-SHA256 (rust/2023-05-30/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 0babdccec106b4cd20574c9722b36e407a1d028856989ff5e390172876ab3e28
-SIZE (rust/2023-05-30/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 26135420
-SHA256 (rust/2023-05-30/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 96984a716ac37b2888181b00939c975a544cdf21a0dc1db5bcd5b4468e28eeab
-SIZE (rust/2023-05-30/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 7502952
+TIMESTAMP = 1696339791
+SHA256 (rust/2023-10-02/rustc-nightly-src.tar.xz) = f64ee88a7d9d4ae552d8f7d07606740032a2c0a64ac4b2c7f37a27e6be335f15
+SIZE (rust/2023-10-02/rustc-nightly-src.tar.xz) = 155897484
+SHA256 (rust/2023-08-22/rustc-beta-x86_64-unknown-freebsd.tar.xz) = b21b5e26ccb28c2bf8a089a6f62abc4d10d6a4aabadf694aff8273150e6e7673
+SIZE (rust/2023-08-22/rustc-beta-x86_64-unknown-freebsd.tar.xz) = 74331332
+SHA256 (rust/2023-08-22/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 9653bf3ea33bf9502eb90b72c0696af0cc90dea54e9d6e5be97783db3e8286bc
+SIZE (rust/2023-08-22/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 24907124
+SHA256 (rust/2023-08-22/cargo-beta-x86_64-unknown-freebsd.tar.xz) = c9ae52f1212ff635f3300befbd33e575c308e14ff13f0ac30d5d97a3797788f1
+SIZE (rust/2023-08-22/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 8399356
diff --git a/lang/rust-nightly/files/patch-library_std_src_os_unix_net_ancillary.rs b/lang/rust-nightly/files/patch-library_std_src_os_unix_net_ancillary.rs
deleted file mode 100644
index d42b6b9405de..000000000000
--- a/lang/rust-nightly/files/patch-library_std_src_os_unix_net_ancillary.rs
+++ /dev/null
@@ -1,27 +0,0 @@
-From 513f28db0a540725bc41f080a0f52973af67c3db Mon Sep 17 00:00:00 2001
-From: MikaelUrankar <mikael.urankar@gmail.com>
-Date: Tue, 13 Jun 2023 13:14:06 +0200
-Subject: [PATCH] Fix building the documentation on FreeBSD.
-
-It fixes the following error:
-error[E0412]: cannot find type `sockcred2` in module `libc`
-   --> library/std/src/os/unix/net/ancillary.rs:211:29
-    |
-211 | pub struct SocketCred(libc::sockcred2);
-    |                             ^^^^^^^^^ not found in `libc`
----
- library/std/src/os/unix/net/ancillary.rs | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/library/std/src/os/unix/net/ancillary.rs b/library/std/src/os/unix/net/ancillary.rs
-index 7565fbc0d099c..814f1c7c2838e 100644
---- library/std/src/os/unix/net/ancillary.rs
-+++ library/std/src/os/unix/net/ancillary.rs
-@@ -17,6 +17,7 @@ mod libc {
-     pub use libc::c_int;
-     pub struct ucred;
-     pub struct cmsghdr;
-+    pub struct sockcred2;
-     pub type pid_t = i32;
-     pub type gid_t = u32;
-     pub type uid_t = u32;