[blfs] 01/02: rustc: update to 1.96.0

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

commit af431ddeff218ad04b581b1687ab3a92cc80b5bd
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sun May 31 12:38:47 2026 +0800

    rustc: update to 1.96.0
    
    - Use "rust-openssl-0.10.78.tar.gz" (w/o "v") as additional download
      file name: if you click the link (no matter with "v" or not) the
      downloaded file name will not contain "v."
---
 general/prog/rust.xml              | 24 +++++++++---------------
 introduction/welcome/changelog.xml |  4 ++++
 packages.ent                       |  2 +-
 3 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/general/prog/rust.xml b/general/prog/rust.xml
index 5d52497907..4f4310647c 100644
--- a/general/prog/rust.xml
+++ b/general/prog/rust.xml
@@ -6,8 +6,8 @@
 
   <!ENTITY rust-download-http "https://static.rust-lang.org/dist/rustc-&rust-version;-src.tar.xz">
   <!ENTITY rust-download-ftp  " ">
-  <!ENTITY rust-md5sum        "c206536bb0e11bbf2ebae91504096e34">
-  <!ENTITY rust-size          "228 MB">
+  <!ENTITY rust-md5sum        "75632c07ce29c765b905f26719c3cb3c">
+  <!ENTITY rust-size          "231 MB">
   <!ENTITY rust-buildsize     "10 GB (324 MB installed); add 11 GB if running the tests">
   <!ENTITY rust-time          "10 SBU (including download time; add 15 SBU for tests, both using parallelism=8)">
 ]>
@@ -138,13 +138,14 @@
 
     <!--  keep this here for reuse in case we need a patch -->
     <!-- deliberately skipped turning version and md5 into entities:
-         it's unlikely we'd still need this in the next rustc release.  -->
+         it will be uneeded in 1.97.0 per
+         https://github.com/rust-lang/cargo/pull/16931. -->
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
         <para>
           OpenSSL Rust binding updated to support OpenSSL 4:
-          <ulink url="https://github.com/lfs-book/rust-openssl/archive/v0.10.78/rust-openssl-v0.10.78.tar.gz"/>
+          <ulink url="https://github.com/lfs-book/rust-openssl/archive/v0.10.78/rust-openssl-0.10.78.tar.gz"/>
         </para>
       </listitem>
       <listitem>
@@ -242,7 +243,7 @@ ln -svfn rustc-&rust-version; /opt/rustc</userinput></screen>
 # Tell x.py that the editors have reviewed the content of this file
 # and updated it to follow the major changes of the building system,
 # so x.py will not warn users to review that information.
-change-id = 148671
+change-id = 154508
 
 [llvm]
 # When using the system installed copy of LLVM, prefer the shared libraries
@@ -291,7 +292,7 @@ EOF</userinput></screen>
       this package with OpenSSL 4:
     </para>
 
-<screen><userinput>tar xf ../rust-openssl-v0.10.78.tar.gz &amp;&amp;
+<screen><userinput>tar xf ../rust-openssl-0.10.78.tar.gz &amp;&amp;
 
 cat &gt;&gt; src/tools/cargo/Cargo.toml &lt;&lt; EOF &amp;&amp;
 <literal>[patch.crates-io]
@@ -300,8 +301,8 @@ openssl-sys = { path = "../../../rust-openssl-0.10.78/openssl-sys" }
 </literal>EOF
 
 sed -ri src/tools/cargo/Cargo.lock \
-    -e '/name = "openssl-sys"/,/^$/{/source|checksum/d;s/0.9.111/0.9.114/}' \
-    -e '/name = "openssl"/,/^$/{/source|checksum/d;s/0.10.75/0.10.78/}'     \
+    -e '/name = "openssl-sys"/,/^$/{/source|checksum/d;s/0.9.112/0.9.114/}' \
+    -e '/name = "openssl"/,/^$/{/source|checksum/d;s/0.10.76/0.10.78/}'     \
     -e '/name = "openssl-macros"/,/^$/{/source|checksum/d}'</userinput></screen>
 
 <!-- retain here in case we need a patch
@@ -316,10 +317,6 @@ sed -ri src/tools/cargo/Cargo.lock \
       Compile <application>Rust</application> by running the following
       commands:
     </para>
-<!-- fixed in 1.58.0, retain as a reminder that fixed crates can be used
-<screen><userinput>sed -i -e '/^curl /s/0.4.38/0.4.40/' \
-       -e '/^curl-sys /s/0.4.48/0.4.50/' \
-       src/tools/cargo/Cargo.toml &amp;&amp; -->
 
 <screen><userinput>export LIBSSH2_SYS_USE_PKG_CONFIG=1
 export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
@@ -344,9 +341,6 @@ export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
 
     <para>
       In the <filename class='directory'>rustdoc-ui</filename> tests,
-      <!-- https://github.com/rust-lang/rust/issues/154392 -->
-      the test named <filename>track-diagnostics.rs</filename>
-      is known to fail because it hard codes paths non-exist on LFS, and
       the test named <filename>ice-bug-report-url.rs</filename> is known
       to fail for unknown reason.
 
diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml
index 9e4f77a6b1..d89c5ef9db 100644
--- a/introduction/welcome/changelog.xml
+++ b/introduction/welcome/changelog.xml
@@ -42,6 +42,10 @@
     <listitem>
       <para>May 30th, 2026</para>
       <itemizedlist>
+        <listitem>
+          <para>[xry111] - Update to rustc-1.96.0 (Security Update). Fixes
+          <ulink url="&blfs-ticket-root;23372">#23372</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[jlocash] - Update to libdrm-2.4.134. Fixes
           <ulink url="&blfs-ticket-root;23387">#23387</ulink>.</para>
diff --git a/packages.ent b/packages.ent
index 4ecaa5d627..6f55b35b6b 100644
--- a/packages.ent
+++ b/packages.ent
@@ -410,7 +410,7 @@
 <!ENTITY ruby-patch-version           "5">
 <!ENTITY ruby-version                 "&ruby-minor-version;.&ruby-patch-version;">
 <!ENTITY ruby-gemdir                  "/usr/lib/ruby/gems/&ruby-minor-version;.0">
-<!ENTITY rust-version                 "1.95.0">
+<!ENTITY rust-version                 "1.96.0">
 <!ENTITY rust-bindgen-version         "0.72.1">
 <!ENTITY scons-version                "4.10.1">
 <!ENTITY slang-version                "2.3.3">

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.