Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lang/rust-nightly: Update to 2023-06-12
- Loading branch information
1 parent
d8f661b
commit c37fc7b
Showing
3 changed files
with
39 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
TIMESTAMP = 1675935517 | ||
SHA256 (rust/2023-02-08/rustc-nightly-src.tar.xz) = 2abcc8bc95795785bf2a2f17261d9d4cee66b0d05785c66c933c79885da9c762 | ||
SIZE (rust/2023-02-08/rustc-nightly-src.tar.xz) = 145013968 | ||
SHA256 (rust/2023-01-25/rustc-beta-x86_64-unknown-freebsd.tar.xz) = 2647f9420cc4b2a2a94b32ef6c7d88285bb50c3b04bbd29bdc11f6e5fb8f9c4f | ||
SIZE (rust/2023-01-25/rustc-beta-x86_64-unknown-freebsd.tar.xz) = 88303588 | ||
SHA256 (rust/2023-01-25/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 20c2d1d3e64f56f00c237ae261d5880a7fd7c6f1e2360dc7fa0039b3ea932c66 | ||
SIZE (rust/2023-01-25/rust-std-beta-x86_64-unknown-freebsd.tar.xz) = 30753880 | ||
SHA256 (rust/2023-01-25/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 9466a4417a1ea6a9ab03ea7d05f747a731ed0bf5545148a1c782c797dcff50a9 | ||
SIZE (rust/2023-01-25/cargo-beta-x86_64-unknown-freebsd.tar.xz) = 7141356 | ||
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 |
27 changes: 27 additions & 0 deletions
27
lang/rust-nightly/files/patch-library_std_src_os_unix_net_ancillary.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
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; |