Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2023 09:07:11 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fa874813924c - main - lang/rust: Update to 1.72.0
Message-ID:  <202309080907.38897BuG025635@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

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

commit fa874813924cb55095c731fcab6c31b036b38541
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-08-24 17:20:10 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-09-08 09:05:43 +0000

    lang/rust: Update to 1.72.0
    
    Announce:       https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html
    ChangeLog:      https://github.com/rust-lang/rust/releases/tag/1.72.0
    
    PR:             244316
    Tested by:      mikael,pkubaj
---
 Mk/Uses/cargo.mk                                   |   2 +-
 Mk/bsd.gecko.mk                                    |   2 +-
 lang/rust-bootstrap/Makefile                       |   2 +-
 lang/rust-bootstrap/distinfo                       |   6 +-
 lang/rust/Makefile                                 |   6 +-
 lang/rust/distinfo                                 | 102 ++++++++++-----------
 .../patch-library_backtrace_src_backtrace_mod.rs   |   5 +-
 .../patch-library_std_src_os_unix_net_ancillary.rs |  27 ------
 8 files changed, 62 insertions(+), 90 deletions(-)

diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk
index 01e8df15598d..8caf60926679 100644
--- a/Mk/Uses/cargo.mk
+++ b/Mk/Uses/cargo.mk
@@ -97,7 +97,7 @@ WRKSRC_crate_${_crate}=	${WRKDIR}/${_wrksrc}
 
 CARGO_BUILDDEP?=	yes
 .  if ${CARGO_BUILDDEP:tl} == "yes"
-BUILD_DEPENDS+=	${RUST_DEFAULT}>=1.71.0:lang/${RUST_DEFAULT}
+BUILD_DEPENDS+=	${RUST_DEFAULT}>=1.72.0:lang/${RUST_DEFAULT}
 .  elif ${CARGO_BUILDDEP:tl} == "any-version"
 BUILD_DEPENDS+=	${RUST_DEFAULT}>=0:lang/${RUST_DEFAULT}
 .  endif
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index ecac2bfaee03..11c2a20b9d4c 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -81,7 +81,7 @@ BUNDLE_LIBS=	yes
 
 BUILD_DEPENDS+=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \
 				rust-cbindgen>=0.24.3:devel/rust-cbindgen \
-				${RUST_DEFAULT}>=1.71.0:lang/${RUST_DEFAULT} \
+				${RUST_DEFAULT}>=1.72.0:lang/${RUST_DEFAULT} \
 				node:www/node
 LIB_DEPENDS+=	libdrm.so:graphics/libdrm
 RUN_DEPENDS+=	${LOCALBASE}/lib/libpci.so:devel/libpci
diff --git a/lang/rust-bootstrap/Makefile b/lang/rust-bootstrap/Makefile
index 2615ca545546..09067e4ff257 100644
--- a/lang/rust-bootstrap/Makefile
+++ b/lang/rust-bootstrap/Makefile
@@ -2,7 +2,7 @@
 # to upload them to ~/public_distfiles on freefall in preparation
 # for the next lang/rust update.
 PORTNAME=	rust
-PORTVERSION=	1.71.0
+PORTVERSION=	1.72.0
 CATEGORIES=	lang
 MASTER_SITES=	https://static.rust-lang.org/dist/
 PKGNAMEPREFIX=	${FLAVOR:S/_/-/g}-
diff --git a/lang/rust-bootstrap/distinfo b/lang/rust-bootstrap/distinfo
index 91c023340c42..5052412ce0de 100644
--- a/lang/rust-bootstrap/distinfo
+++ b/lang/rust-bootstrap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1689063077
-SHA256 (rust/rustc-1.71.0-src.tar.xz) = 9bfc6a949b33bd5f136790b304b41f4d87898b11d1e5da1d12400f7c87d0227c
-SIZE (rust/rustc-1.71.0-src.tar.xz) = 151987536
+TIMESTAMP = 1692897293
+SHA256 (rust/rustc-1.72.0-src.tar.xz) = d307441f8ee78a7e94f72cb5c81383822f13027f79e67a5551bfd2c2d2db3014
+SIZE (rust/rustc-1.72.0-src.tar.xz) = 151630408
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 5163c8e7d970..9c2cb3a7b5d4 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	rust
-PORTVERSION?=	1.71.0
+PORTVERSION?=	1.72.0
 PORTREVISION?=	0
 CATEGORIES=	lang
 MASTER_SITES=	https://static.rust-lang.org/dist/:src \
@@ -68,8 +68,8 @@ WASM_VARS=		_COMPONENTS+="rust-analysis-${_PACKAGE_VERS}-wasm32-unknown-unknown
 WASM_VARS_OFF=		_RUST_BUILD_WASM=false
 
 # See WRKSRC/src/stage0.json for the date and version values
-BOOTSTRAPS_DATE?=		2023-06-01
-RUST_BOOTSTRAP_VERSION?=	1.70.0
+BOOTSTRAPS_DATE?=		2023-07-13
+RUST_BOOTSTRAP_VERSION?=	1.71.0
 
 CARGO_VENDOR_DIR?=		${WRKSRC}/vendor
 
diff --git a/lang/rust/distinfo b/lang/rust/distinfo
index b3f97f4627ec..8ae91f752136 100644
--- a/lang/rust/distinfo
+++ b/lang/rust/distinfo
@@ -1,51 +1,51 @@
-TIMESTAMP = 1689063076
-SHA256 (rust/rustc-1.71.0-src.tar.xz) = 9bfc6a949b33bd5f136790b304b41f4d87898b11d1e5da1d12400f7c87d0227c
-SIZE (rust/rustc-1.71.0-src.tar.xz) = 151987536
-SHA256 (rust/2023-06-01/rustc-1.70.0-aarch64-unknown-freebsd.tar.xz) = 33af1e77bec478cfe6dcb0e30d1bd31e5be42fc727883c28f22435d268a19a71
-SIZE (rust/2023-06-01/rustc-1.70.0-aarch64-unknown-freebsd.tar.xz) = 54609348
-SHA256 (rust/2023-06-01/rust-std-1.70.0-aarch64-unknown-freebsd.tar.xz) = 98c3a6f77385dfc973908bbcf76d211ed98b9d24188729ab825a83e431df3260
-SIZE (rust/2023-06-01/rust-std-1.70.0-aarch64-unknown-freebsd.tar.xz) = 27462124
-SHA256 (rust/2023-06-01/cargo-1.70.0-aarch64-unknown-freebsd.tar.xz) = 82a43b70bbe89343023aca5e65eb5090e67c4ecfd35f2f9884ceb58bba069edc
-SIZE (rust/2023-06-01/cargo-1.70.0-aarch64-unknown-freebsd.tar.xz) = 6971132
-SHA256 (rust/2023-06-01/rustc-1.70.0-x86_64-unknown-freebsd.tar.xz) = 67543c83f80c4a62145be86f33e987f1c547a02a3041032028c3f3e545390f6f
-SIZE (rust/2023-06-01/rustc-1.70.0-x86_64-unknown-freebsd.tar.xz) = 46958780
-SHA256 (rust/2023-06-01/rust-std-1.70.0-x86_64-unknown-freebsd.tar.xz) = 8f84ee49ce6b2adf13ee3eafe2bbf5054b2e9e5722f182554c5577d16e9acd53
-SIZE (rust/2023-06-01/rust-std-1.70.0-x86_64-unknown-freebsd.tar.xz) = 28643904
-SHA256 (rust/2023-06-01/cargo-1.70.0-x86_64-unknown-freebsd.tar.xz) = 906d407d0f59a45e69248fd79bb38d0edc5e91a36e41be9e0186059d23362af9
-SIZE (rust/2023-06-01/cargo-1.70.0-x86_64-unknown-freebsd.tar.xz) = 7802220
-SHA256 (rust/2023-06-01/rustc-1.70.0-armv7-unknown-freebsd.tar.xz) = 646f01ad696d2845d8bbaec93d117eaf3b0c85a03115b3674c5d4489e3707ec7
-SIZE (rust/2023-06-01/rustc-1.70.0-armv7-unknown-freebsd.tar.xz) = 53498340
-SHA256 (rust/2023-06-01/rust-std-1.70.0-armv7-unknown-freebsd.tar.xz) = 4c4cd3500e7a7caf5876913dfbe3916770fa2869c1d1356764af91b2aceff9b8
-SIZE (rust/2023-06-01/rust-std-1.70.0-armv7-unknown-freebsd.tar.xz) = 26769716
-SHA256 (rust/2023-06-01/cargo-1.70.0-armv7-unknown-freebsd.tar.xz) = 67d95e5184d21aa6b3ed07d42dc9e579b20bf36cfdf8dd08e5c677d6c8c9427a
-SIZE (rust/2023-06-01/cargo-1.70.0-armv7-unknown-freebsd.tar.xz) = 6853756
-SHA256 (rust/2023-06-01/rustc-1.70.0-i686-unknown-freebsd.tar.xz) = adc7c5370331fe62522717b856caf98c23d8887b001ba412063e85034147e168
-SIZE (rust/2023-06-01/rustc-1.70.0-i686-unknown-freebsd.tar.xz) = 62272900
-SHA256 (rust/2023-06-01/rust-std-1.70.0-i686-unknown-freebsd.tar.xz) = 78da20e57d8f7c0374eb551bf90ef44a8e1347bd63675d5ff43c30d73e7f8dd7
-SIZE (rust/2023-06-01/rust-std-1.70.0-i686-unknown-freebsd.tar.xz) = 28539308
-SHA256 (rust/2023-06-01/cargo-1.70.0-i686-unknown-freebsd.tar.xz) = aeb266e05c9bc15692372ec6f3c967beb9982822897e21a8ecb7a8f30b6d2fbf
-SIZE (rust/2023-06-01/cargo-1.70.0-i686-unknown-freebsd.tar.xz) = 8176172
-SHA256 (rust/2023-06-01/rustc-1.70.0-powerpc-unknown-freebsd.tar.xz) = 9d276d19fcfafba0a76a900e41f116639aed75eb21723cf21aecc2b0449be8e6
-SIZE (rust/2023-06-01/rustc-1.70.0-powerpc-unknown-freebsd.tar.xz) = 59984324
-SHA256 (rust/2023-06-01/rust-std-1.70.0-powerpc-unknown-freebsd.tar.xz) = 771bfb0febdc77a2b49333a8f1a633342721f3085fd45186d4955207968be9b6
-SIZE (rust/2023-06-01/rust-std-1.70.0-powerpc-unknown-freebsd.tar.xz) = 25604004
-SHA256 (rust/2023-06-01/cargo-1.70.0-powerpc-unknown-freebsd.tar.xz) = 39ccb11db9d803ecc0c2a0e766c367201e61fd438ce7a3f55261525729978ee3
-SIZE (rust/2023-06-01/cargo-1.70.0-powerpc-unknown-freebsd.tar.xz) = 8050096
-SHA256 (rust/2023-06-01/rustc-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 33baa4146df872ee0baf49615e581a5313dde4b4395904dea4b9acc3a71994cd
-SIZE (rust/2023-06-01/rustc-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 58795560
-SHA256 (rust/2023-06-01/rust-std-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 09c7dfc89fc075def735d11c2dc870c1a5c14be0467e4b1873d12d8444ec3b2c
-SIZE (rust/2023-06-01/rust-std-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 25812720
-SHA256 (rust/2023-06-01/cargo-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 3e88823bdca116dad12e8455d4bcdceca1f24bd6d0ea0a607c4de4d852df4e9c
-SIZE (rust/2023-06-01/cargo-1.70.0-powerpc64-unknown-freebsd.tar.xz) = 7681024
-SHA256 (rust/2023-06-01/rustc-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = ff75ea29a0453ab6d4ffeb1b3f60133f476cef716e1a294fecc55786f4559b9e
-SIZE (rust/2023-06-01/rustc-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = 60346412
-SHA256 (rust/2023-06-01/rust-std-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = 23719ffd7a8a73b2a04bde9fd209d2ad50f5535406a1b7872cea9c1c63383c29
-SIZE (rust/2023-06-01/rust-std-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = 25924168
-SHA256 (rust/2023-06-01/cargo-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = f8ad9d8cb2c8fb9d5f8d38dac0a40469982ba3ed7ec1128c3f1b61dd9f56f92d
-SIZE (rust/2023-06-01/cargo-1.70.0-powerpc64le-unknown-freebsd.tar.xz) = 7889448
-SHA256 (rust/2023-06-01/rustc-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 559fff7bdf05b2425392633a02c0a94002e2e7632cd9da5f454197c230bdf973
-SIZE (rust/2023-06-01/rustc-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 69599072
-SHA256 (rust/2023-06-01/rust-std-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 74e4dc88b27b8d35b85631af46593281fcf7359961f58146a8e1447b634fb4c3
-SIZE (rust/2023-06-01/rust-std-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 26041376
-SHA256 (rust/2023-06-01/cargo-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 1c66eeed462c796845d92016ec314e6d6b84a5dc6b93daf3156bce67ab7edaf8
-SIZE (rust/2023-06-01/cargo-1.70.0-riscv64gc-unknown-freebsd.tar.xz) = 9630176
+TIMESTAMP = 1692897225
+SHA256 (rust/rustc-1.72.0-src.tar.xz) = d307441f8ee78a7e94f72cb5c81383822f13027f79e67a5551bfd2c2d2db3014
+SIZE (rust/rustc-1.72.0-src.tar.xz) = 151630408
+SHA256 (rust/2023-07-13/rustc-1.71.0-aarch64-unknown-freebsd.tar.xz) = 67a63e4bf9f69f0a07a79e759e754d66afdc1a644c08dc699ffb17083e05199e
+SIZE (rust/2023-07-13/rustc-1.71.0-aarch64-unknown-freebsd.tar.xz) = 54896968
+SHA256 (rust/2023-07-13/rust-std-1.71.0-aarch64-unknown-freebsd.tar.xz) = 644b1f08cddb684e19eae04f315c464c1ba1af11c09d59eb4449c1635a7a05f3
+SIZE (rust/2023-07-13/rust-std-1.71.0-aarch64-unknown-freebsd.tar.xz) = 25694436
+SHA256 (rust/2023-07-13/cargo-1.71.0-aarch64-unknown-freebsd.tar.xz) = 9ed2a3f06431a9e962ab29a3a4d4dc5b2e3703460845d9eec45da9f990618fbb
+SIZE (rust/2023-07-13/cargo-1.71.0-aarch64-unknown-freebsd.tar.xz) = 7197836
+SHA256 (rust/2023-07-13/rustc-1.71.0-x86_64-unknown-freebsd.tar.xz) = 5d2b10d7b7db4117627aafe9e2bcc8002e714da44fa9dd3aedbc0e50ffe1dd80
+SIZE (rust/2023-07-13/rustc-1.71.0-x86_64-unknown-freebsd.tar.xz) = 45992472
+SHA256 (rust/2023-07-13/rust-std-1.71.0-x86_64-unknown-freebsd.tar.xz) = 38b75d357110e539af7b6b155903adb8f5800226423da5ada798f7e1f768bb40
+SIZE (rust/2023-07-13/rust-std-1.71.0-x86_64-unknown-freebsd.tar.xz) = 26217172
+SHA256 (rust/2023-07-13/cargo-1.71.0-x86_64-unknown-freebsd.tar.xz) = 1d881ed89e9b4eb686a11bdd2f1bebf907fc2da6061192c40ac579a5b26094c7
+SIZE (rust/2023-07-13/cargo-1.71.0-x86_64-unknown-freebsd.tar.xz) = 7973836
+SHA256 (rust/2023-07-13/rustc-1.71.0-armv7-unknown-freebsd.tar.xz) = f2b9db2d046da7494e7c2b0b613f9f469124b6e3711b4904b7207b8d9c39964c
+SIZE (rust/2023-07-13/rustc-1.71.0-armv7-unknown-freebsd.tar.xz) = 53254816
+SHA256 (rust/2023-07-13/rust-std-1.71.0-armv7-unknown-freebsd.tar.xz) = a81c72e919a340bdc93e2009d8623fa47f01db342a170d0dd563a06bc00ccb30
+SIZE (rust/2023-07-13/rust-std-1.71.0-armv7-unknown-freebsd.tar.xz) = 25050696
+SHA256 (rust/2023-07-13/cargo-1.71.0-armv7-unknown-freebsd.tar.xz) = bb27f0be22140081b613802cd9f0c38682bc02c7716d41d9ccaa0d861cfc2d47
+SIZE (rust/2023-07-13/cargo-1.71.0-armv7-unknown-freebsd.tar.xz) = 7071008
+SHA256 (rust/2023-07-13/rustc-1.71.0-i686-unknown-freebsd.tar.xz) = 23f9a1fc89db35766dca997bd1f841dd058610f1761989105097710586407c57
+SIZE (rust/2023-07-13/rustc-1.71.0-i686-unknown-freebsd.tar.xz) = 61659320
+SHA256 (rust/2023-07-13/rust-std-1.71.0-i686-unknown-freebsd.tar.xz) = e6b35baff3bcc7dd7feb1447eeaef54fef4136c75af2e6f4b218ff52507b9d63
+SIZE (rust/2023-07-13/rust-std-1.71.0-i686-unknown-freebsd.tar.xz) = 26212032
+SHA256 (rust/2023-07-13/cargo-1.71.0-i686-unknown-freebsd.tar.xz) = eca40d3ec40bad1aec54851768e3a307db38d5989a7b2be80deb4a8dd2983bd2
+SIZE (rust/2023-07-13/cargo-1.71.0-i686-unknown-freebsd.tar.xz) = 8338280
+SHA256 (rust/2023-07-13/rustc-1.71.0-powerpc-unknown-freebsd.tar.xz) = d4bd4f7c38ede47def389ff8b8bf1f994fd15f9ae05824facb48bf8ada1d7ba2
+SIZE (rust/2023-07-13/rustc-1.71.0-powerpc-unknown-freebsd.tar.xz) = 60245728
+SHA256 (rust/2023-07-13/rust-std-1.71.0-powerpc-unknown-freebsd.tar.xz) = 48c3f746fdcedb1decefd5f9bd70343b0b8b7573ffd0b65ea77a67b0ce90ab60
+SIZE (rust/2023-07-13/rust-std-1.71.0-powerpc-unknown-freebsd.tar.xz) = 24179884
+SHA256 (rust/2023-07-13/cargo-1.71.0-powerpc-unknown-freebsd.tar.xz) = 30e1c54c7844094f6c463cc4a9be7455e207db598d12fb9203e47d6951b7de53
+SIZE (rust/2023-07-13/cargo-1.71.0-powerpc-unknown-freebsd.tar.xz) = 8248108
+SHA256 (rust/2023-07-13/rustc-1.71.0-powerpc64-unknown-freebsd.tar.xz) = e57a31a65f3ee3b3540c17ed20ea72895a9ea063a5cd7f621571947c75a982cd
+SIZE (rust/2023-07-13/rustc-1.71.0-powerpc64-unknown-freebsd.tar.xz) = 58478560
+SHA256 (rust/2023-07-13/rust-std-1.71.0-powerpc64-unknown-freebsd.tar.xz) = 5ba721993d54d15e6fe87001641eaf30aab2fd099e03119656898809bb607db1
+SIZE (rust/2023-07-13/rust-std-1.71.0-powerpc64-unknown-freebsd.tar.xz) = 24186732
+SHA256 (rust/2023-07-13/cargo-1.71.0-powerpc64-unknown-freebsd.tar.xz) = c46c43a943f2ff631a53c4efb5882756ec0a164368135a54d0f719a65333d1a4
+SIZE (rust/2023-07-13/cargo-1.71.0-powerpc64-unknown-freebsd.tar.xz) = 7780232
+SHA256 (rust/2023-07-13/rustc-1.71.0-powerpc64le-unknown-freebsd.tar.xz) = aefb51616e8165e6dac99291520746a024b71d28c814a2570817473f1a6a20d2
+SIZE (rust/2023-07-13/rustc-1.71.0-powerpc64le-unknown-freebsd.tar.xz) = 60218776
+SHA256 (rust/2023-07-13/rust-std-1.71.0-powerpc64le-unknown-freebsd.tar.xz) = 2f80c9979e9a9dfe4f00fc62fae02656b5263e55c73b990e14b2140cdc620dc5
+SIZE (rust/2023-07-13/rust-std-1.71.0-powerpc64le-unknown-freebsd.tar.xz) = 24236100
+SHA256 (rust/2023-07-13/cargo-1.71.0-powerpc64le-unknown-freebsd.tar.xz) = 17d3145ab8f3d8d28562364f40f25db2fda9b526044e598095eea5cc28e56fec
+SIZE (rust/2023-07-13/cargo-1.71.0-powerpc64le-unknown-freebsd.tar.xz) = 8014976
+SHA256 (rust/2023-07-13/rustc-1.71.0-riscv64gc-unknown-freebsd.tar.xz) = efb38a182166f01d4d31a6534afcbaff3c6a1f58bf90f8db5cfd8016ee4ac520
+SIZE (rust/2023-07-13/rustc-1.71.0-riscv64gc-unknown-freebsd.tar.xz) = 70827420
+SHA256 (rust/2023-07-13/rust-std-1.71.0-riscv64gc-unknown-freebsd.tar.xz) = 4ca3b70a9839e567b62fdc71bcbf35782262ec97c35c5a29a02309e8b76efd63
+SIZE (rust/2023-07-13/rust-std-1.71.0-riscv64gc-unknown-freebsd.tar.xz) = 24375500
+SHA256 (rust/2023-07-13/cargo-1.71.0-riscv64gc-unknown-freebsd.tar.xz) = b49977e17a42a9175cfa016941a6006f8e188f610f4ed59945f114fcb9f04820
+SIZE (rust/2023-07-13/cargo-1.71.0-riscv64gc-unknown-freebsd.tar.xz) = 10130160
diff --git a/lang/rust/files/patch-library_backtrace_src_backtrace_mod.rs b/lang/rust/files/patch-library_backtrace_src_backtrace_mod.rs
index 716240efc1fb..b1ebad360bc8 100644
--- a/lang/rust/files/patch-library_backtrace_src_backtrace_mod.rs
+++ b/lang/rust/files/patch-library_backtrace_src_backtrace_mod.rs
@@ -1,10 +1,9 @@
 --- library/backtrace/src/backtrace/mod.rs.orig	2021-11-29 19:27:28 UTC
 +++ library/backtrace/src/backtrace/mod.rs
-@@ -138,6 +138,8 @@ cfg_if::cfg_if! {
-                 unix,
+@@ -139,6 +139,7 @@ cfg_if::cfg_if! {
                  not(target_os = "emscripten"),
                  not(all(target_os = "ios", target_arch = "arm")),
-+                not(all(target_os = "freebsd", target_arch = "arm")),
+                 not(all(target_os = "nto", target_env = "nto70")),
 +                not(all(target_os = "freebsd", target_arch = "riscv64")),
              ),
              all(
diff --git a/lang/rust/files/patch-library_std_src_os_unix_net_ancillary.rs b/lang/rust/files/patch-library_std_src_os_unix_net_ancillary.rs
deleted file mode 100644
index d42b6b9405de..000000000000
--- a/lang/rust/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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309080907.38897BuG025635>