public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rustup] epel10: Update to 1.29.0; Fixes RHBZ#2447037
@ 2026-11-18 21:44 Josh Stone
0 siblings, 0 replies; only message in thread
From: Josh Stone @ 2026-11-18 21:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rustup
Branch : epel10
Commit : 5bc9245b511dea407d310aa267d7e39ae5fb280a
Author : Josh Stone <cuviper@gmail.com>
Date : 2026-03-14T16:52:39-07:00
Stats : +165/-232 in 11 file(s)
URL : https://src.fedoraproject.org/rpms/rustup/c/5bc9245b511dea407d310aa267d7e39ae5fb280a?branch=epel10
Log:
Update to 1.29.0; Fixes RHBZ#2447037
---
diff --git a/.gitignore b/.gitignore
index b786a47..54ac4a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/rustup-1.26.0.tar.gz
/rustup-1.27.1.tar.gz
/rustup-1.28.2.tar.gz
+/rustup-1.29.0.tar.gz
diff --git a/0001-Drop-Windows-specific-dependencies.patch b/0001-Drop-Windows-specific-dependencies.patch
index 8e5b420..28ef4ce 100644
--- a/0001-Drop-Windows-specific-dependencies.patch
+++ b/0001-Drop-Windows-specific-dependencies.patch
@@ -1,4 +1,4 @@
-From 6f8bc663dcb79b0614d0c51d80be2c9a938f734e Mon Sep 17 00:00:00 2001
+From cbdaa7ae58434ed64587c426fb478f32d334189a Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Thu, 23 May 2024 17:52:19 +0200
Subject: [PATCH 1/6] Drop Windows-specific dependencies
@@ -8,18 +8,18 @@ Subject: [PATCH 1/6] Drop Windows-specific dependencies
1 file changed, 27 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 31005d56521d..019382c96785 100644
+index 6994070866cb..ac9f46007652 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -97,33 +97,6 @@ walkdir = { version = "2", optional = true }
- xz2 = "0.1.3"
- zstd = "0.13"
+@@ -112,33 +112,6 @@ zstd = { version = "0.13", default-features = false }
+ snapbox = { version = "1", features = ["term-svg"], optional = true }
+ walkdir = { version = "2", optional = true }
-[target."cfg(windows)".dependencies]
-cc = "1"
-scopeguard = "1"
--windows-registry = "0.5.0"
--windows-result = "0.3.0"
+-windows-registry = "0.6"
+-windows-result = "0.4"
-
-[target."cfg(windows)".dependencies.windows-sys]
-features = [
@@ -40,11 +40,11 @@ index 31005d56521d..019382c96785 100644
- "Win32_UI",
- "Win32_UI_WindowsAndMessaging",
-]
--version = "0.59"
+-version = "0.61"
-
[dev-dependencies]
enum-map = "2.5.0"
http-body-util = "0.1.0"
--
-2.49.0
+2.53.0
diff --git a/0001-Serialize-all-tests-with-proxy-sensitive-URLs.patch b/0001-Serialize-all-tests-with-proxy-sensitive-URLs.patch
deleted file mode 100644
index 5bd68da..0000000
--- a/0001-Serialize-all-tests-with-proxy-sensitive-URLs.patch
+++ /dev/null
@@ -1,152 +0,0 @@
-From 87f027646f1588ea3af8b940fed43c5534a9be94 Mon Sep 17 00:00:00 2001
-From: Josh Stone <cuviper@gmail.com>
-Date: Thu, 5 Jun 2025 14:04:19 -0700
-Subject: [PATCH] Serialize all tests with proxy-sensitive URLs
-
-There was already a guard for tests that *set* a proxy variable in the
-environment, but this is also relevant for tests that would implicitly
-read those variables while downloading a local `serve_file` URL.
----
- src/download/tests.rs | 63 ++++++++++++++++++++++++++-----------------
- 1 file changed, 38 insertions(+), 25 deletions(-)
-
-diff --git a/src/download/tests.rs b/src/download/tests.rs
-index 248bd92eafe4..8865b5ea4f12 100644
---- a/src/download/tests.rs
-+++ b/src/download/tests.rs
-@@ -1,8 +1,10 @@
- use std::convert::Infallible;
-+use std::env::remove_var;
- use std::fs;
- use std::io;
- use std::net::SocketAddr;
- use std::path::Path;
-+use std::sync::LazyLock;
- use std::sync::mpsc::{Sender, channel};
- use std::thread;
-
-@@ -20,7 +22,7 @@ mod curl {
-
- use url::Url;
-
-- use super::{serve_file, tmp_dir, write_file};
-+ use super::{scrub_env, serve_file, tmp_dir, write_file};
- use crate::download::{Backend, Event};
-
- #[tokio::test]
-@@ -43,6 +45,7 @@ mod curl {
-
- #[tokio::test]
- async fn callback_gets_all_data_as_if_the_download_happened_all_at_once() {
-+ let _guard = scrub_env().await;
- let tmpdir = tmp_dir();
- let target_path = tmpdir.path().join("downloaded");
- write_file(&target_path, "123");
-@@ -94,11 +97,11 @@ mod curl {
-
- #[cfg(any(feature = "reqwest-rustls-tls", feature = "reqwest-native-tls"))]
- mod reqwest {
-- use std::env::{remove_var, set_var};
-+ use std::env::set_var;
- use std::error::Error;
- use std::net::TcpListener;
-+ use std::sync::Mutex;
- use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
-- use std::sync::{LazyLock, Mutex};
- use std::thread;
- use std::time::Duration;
-
-@@ -106,34 +109,16 @@ mod reqwest {
- use reqwest::{Client, Proxy};
- use url::Url;
-
-- use super::{serve_file, tmp_dir, write_file};
-+ use super::{scrub_env, serve_file, tmp_dir, write_file};
- use crate::download::{Backend, Event, TlsBackend};
-
-- static SERIALISE_TESTS: LazyLock<tokio::sync::Mutex<()>> =
-- LazyLock::new(|| tokio::sync::Mutex::new(()));
--
-- unsafe fn scrub_env() {
-- unsafe {
-- remove_var("http_proxy");
-- remove_var("https_proxy");
-- remove_var("HTTPS_PROXY");
-- remove_var("ftp_proxy");
-- remove_var("FTP_PROXY");
-- remove_var("all_proxy");
-- remove_var("ALL_PROXY");
-- remove_var("no_proxy");
-- remove_var("NO_PROXY");
-- }
-- }
--
- // Tests for correctly retrieving the proxy (host, port) tuple from $https_proxy
- #[tokio::test]
- async fn read_basic_proxy_params() {
-- let _guard = SERIALISE_TESTS.lock().await;
-+ let _guard = scrub_env().await;
- // SAFETY: We are setting environment variables when `SERIALISE_TESTS` is locked,
- // and those environment variables in question are not relevant elsewhere in the test suite.
- unsafe {
-- scrub_env();
- set_var("https_proxy", "http://proxy.example.com:8080");
- }
- let u = Url::parse("https://www.example.org").ok().unwrap();
-@@ -147,12 +132,11 @@ mod reqwest {
- #[tokio::test]
- async fn socks_proxy_request() {
- static CALL_COUNT: AtomicUsize = AtomicUsize::new(0);
-- let _guard = SERIALISE_TESTS.lock().await;
-+ let _guard = scrub_env().await;
-
- // SAFETY: We are setting environment variables when `SERIALISE_TESTS` is locked,
- // and those environment variables in question are not relevant elsewhere in the test suite.
- unsafe {
-- scrub_env();
- set_var("all_proxy", "socks5://127.0.0.1:1080");
- }
-
-@@ -210,6 +194,7 @@ mod reqwest {
-
- #[tokio::test]
- async fn callback_gets_all_data_as_if_the_download_happened_all_at_once() {
-+ let _guard = scrub_env().await;
- let tmpdir = tmp_dir();
- let target_path = tmpdir.path().join("downloaded");
- write_file(&target_path, "123");
-@@ -363,3 +348,31 @@ fn serve_contents(
- }
- res
- }
-+
-+/// Clear proxy-related environment variables
-+///
-+/// Every test using a proxy-sensitive URL should call this and hold the returned guard,
-+/// regardless of whether the test is going to set its own proxy environment variables.
-+async fn scrub_env() -> tokio::sync::MutexGuard<'static, ()> {
-+ static SERIALISE_TESTS: LazyLock<tokio::sync::Mutex<()>> =
-+ LazyLock::new(|| tokio::sync::Mutex::new(()));
-+
-+ let guard = SERIALISE_TESTS.lock().await;
-+
-+ // SAFETY: We are clearing environment variables when `SERIALISE_TESTS` is locked, and those
-+ // environment variables in question are only relevant in tests that continue to hold this
-+ // mutex guard.
-+ unsafe {
-+ remove_var("http_proxy");
-+ remove_var("https_proxy");
-+ remove_var("HTTPS_PROXY");
-+ remove_var("ftp_proxy");
-+ remove_var("FTP_PROXY");
-+ remove_var("all_proxy");
-+ remove_var("ALL_PROXY");
-+ remove_var("no_proxy");
-+ remove_var("NO_PROXY");
-+ }
-+
-+ guard
-+}
---
-2.49.0
-
diff --git a/0001-Unpin-tracing-subcriber.patch b/0001-Unpin-tracing-subcriber.patch
new file mode 100644
index 0000000..3f6f9df
--- /dev/null
+++ b/0001-Unpin-tracing-subcriber.patch
@@ -0,0 +1,42 @@
+From 6e5061a5b3257515ede1a9f91d8c9f288ed4db23 Mon Sep 17 00:00:00 2001
+From: Dirkjan Ochtman <dirkjan@ochtman.nl>
+Date: Fri, 13 Mar 2026 11:10:49 +0100
+Subject: [PATCH] Unpin tracing-subcriber
+
+---
+ Cargo.toml | 4 +---
+ src/cli/log.rs | 3 ++-
+ 2 files changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 6994070866cb..13f1f8e3c675 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -100,9 +100,7 @@ toml = "1.0"
+ tracing = "0.1"
+ tracing-log = "0.2"
+ tracing-opentelemetry = { version = "0.32", optional = true }
+-# Newer versions render ANSI escape codes, causing CLI errors to be ugly
+-# See also https://github.com/tokio-rs/tracing/issues/3369
+-tracing-subscriber = { version = "=0.3.19", features = ["env-filter"] }
++tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
+ url = "2.4"
+ wait-timeout = "0.2"
+ xz2 = "0.1.3"
+diff --git a/src/cli/log.rs b/src/cli/log.rs
+index 17f1e874265e..ab20922aa61c 100644
+--- a/src/cli/log.rs
++++ b/src/cli/log.rs
+@@ -50,7 +50,8 @@ where
+ let process = process.clone();
+ let logger = tracing_subscriber::fmt::layer()
+ .with_writer(process.stderr())
+- .with_ansi(true); // `process.stderr()` will translate ANSI escape codes
++ .with_ansi(true)
++ .with_ansi_sanitization(false); // `process.stderr()` will translate ANSI escape codes
+ if let Ok(directives) = maybe_rustup_log_directives {
+ let (env_filter, handle) = reload::Layer::new(
+ EnvFilter::builder()
+--
+2.53.0
+
diff --git a/0002-Drop-feature-for-statically-linking-against-vendored.patch b/0002-Drop-feature-for-statically-linking-against-vendored.patch
index 3b253c6..b518bd8 100644
--- a/0002-Drop-feature-for-statically-linking-against-vendored.patch
+++ b/0002-Drop-feature-for-statically-linking-against-vendored.patch
@@ -1,4 +1,4 @@
-From 7cb00d36022909b718f5736d0ce6cca447d83fbd Mon Sep 17 00:00:00 2001
+From 2d2eae80acf74bc63d5055b3b102ee4d5453d4d7 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Wed, 8 Nov 2023 17:53:44 +0100
Subject: [PATCH 2/6] Drop feature for statically linking against vendored
@@ -9,7 +9,7 @@ Subject: [PATCH 2/6] Drop feature for statically linking against vendored
1 file changed, 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 019382c96785..3e647a49faf1 100644
+index ac9f46007652..9369ae86d8d6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,8 +14,6 @@ build = "build.rs"
@@ -20,7 +20,7 @@ index 019382c96785..3e647a49faf1 100644
-
reqwest-native-tls = ["reqwest/native-tls", "dep:reqwest", "dep:env_proxy"]
reqwest-rustls-tls = [
- "reqwest/rustls-tls-manual-roots-no-provider",
+ "reqwest/rustls-no-provider",
--
-2.49.0
+2.53.0
diff --git a/0003-Remove-unused-tracing-support.patch b/0003-Remove-unused-tracing-support.patch
index 2fd5aae..8455880 100644
--- a/0003-Remove-unused-tracing-support.patch
+++ b/0003-Remove-unused-tracing-support.patch
@@ -1,4 +1,4 @@
-From 3ea753eb48e42fa45ec3f277c8a1cc717f584546 Mon Sep 17 00:00:00 2001
+From 9f2796040ecc803da9f941f51b4dcb8e735b0e59 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Thu, 23 May 2024 18:01:37 +0200
Subject: [PATCH 3/6] Remove unused tracing support
@@ -12,19 +12,19 @@ Subject: [PATCH 3/6] Remove unused tracing support
5 files changed, 25 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 3e647a49faf1..c53c9ea14aad 100644
+index 9369ae86d8d6..0793cb7fb1a4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -67,7 +67,6 @@ regex = "1"
+@@ -78,7 +78,6 @@ regex = "1"
remove_dir_all = { version = "1.0.0", features = ["parallel"] }
- reqwest = { version = "0.12", default-features = false, features = ["blocking", "gzip", "http2", "socks", "stream"], optional = true }
+ reqwest = { version = "0.13", default-features = false, features = ["blocking", "gzip", "http2", "socks", "stream"], optional = true }
retry = { version = "2", default-features = false, features = ["random"] }
-rs_tracing = { version = "1.1", features = ["rs_tracing"] }
rustls = { version = "0.23", optional = true, default-features = false, features = ["logging", "aws_lc_rs", "tls12"] }
- rustls-platform-verifier = { version = "0.5", optional = true }
+ rustls-platform-verifier = { version = "0.6", optional = true }
same-file = "1"
diff --git a/src/bin/rustup-init.rs b/src/bin/rustup-init.rs
-index 6055d6ea0222..53cb42093ad3 100644
+index e844ddc19edf..62f50abfacdc 100644
--- a/src/bin/rustup-init.rs
+++ b/src/bin/rustup-init.rs
@@ -17,10 +17,6 @@ use std::process::ExitCode;
@@ -37,8 +37,8 @@ index 6055d6ea0222..53cb42093ad3 100644
-};
use tracing_subscriber::{EnvFilter, Registry, reload::Handle};
- use rustup::cli::common;
-@@ -65,13 +61,7 @@ async fn run_rustup(
+ use rustup::cli::errors::CliError;
+@@ -67,13 +63,7 @@ async fn run_rustup(
process: &Process,
console_filter: Handle<EnvFilter, Registry>,
) -> Result<utils::ExitCode> {
@@ -53,7 +53,7 @@ index 6055d6ea0222..53cb42093ad3 100644
}
diff --git a/src/diskio/immediate.rs b/src/diskio/immediate.rs
-index 991248bc16c9..c97d4d7b7027 100644
+index 2c7dd518a442..bfa7de4fd29f 100644
--- a/src/diskio/immediate.rs
+++ b/src/diskio/immediate.rs
@@ -166,7 +166,6 @@ impl IncrementalFileWriter {
@@ -77,10 +77,10 @@ index 991248bc16c9..c97d4d7b7027 100644
state.completed_chunks.push(chunk.len());
diff --git a/src/diskio/mod.rs b/src/diskio/mod.rs
-index 0fea84dd7d07..2aa0082f4d13 100644
+index f2400ed118e0..5b307ffa80e2 100644
--- a/src/diskio/mod.rs
+++ b/src/diskio/mod.rs
-@@ -371,17 +371,14 @@ pub(crate) fn write_file<P: AsRef<Path>, C: AsRef<[u8]>>(
+@@ -372,17 +372,14 @@ pub(crate) fn write_file<P: AsRef<Path>, C: AsRef<[u8]>>(
let path = path.as_ref();
let path_display = format!("{}", path.display());
let mut f = {
@@ -98,7 +98,7 @@ index 0fea84dd7d07..2aa0082f4d13 100644
drop(f);
}
Ok(())
-@@ -403,7 +400,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -404,7 +401,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
let path = path.as_ref();
let path_display = format!("{}", path.display());
let mut f = {
@@ -106,7 +106,7 @@ index 0fea84dd7d07..2aa0082f4d13 100644
opts.write(true).create(true).truncate(true).open(path)?
};
if let IncrementalFile::ThreadedReceiver(recv) = content_callback {
-@@ -414,12 +410,10 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -415,12 +411,10 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
let len = contents.len();
// Length 0 vector is used for clean EOF signalling.
if len == 0 {
@@ -119,7 +119,7 @@ index 0fea84dd7d07..2aa0082f4d13 100644
f.write_all(&contents)?;
drop(contents);
chunk_complete_callback(len);
-@@ -429,7 +423,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -430,7 +424,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
unreachable!();
}
{
@@ -127,7 +127,7 @@ index 0fea84dd7d07..2aa0082f4d13 100644
drop(f);
}
Ok(())
-@@ -438,7 +431,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -439,7 +432,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
pub(crate) fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
let path = path.as_ref();
let path_display = format!("{}", path.display());
@@ -136,7 +136,7 @@ index 0fea84dd7d07..2aa0082f4d13 100644
}
diff --git a/src/lib.rs b/src/lib.rs
-index 08f855a42559..12d385e3308f 100644
+index 7192d9eafc3b..8ec4f534b30d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -14,9 +14,6 @@ use anyhow::{Result, anyhow};
@@ -150,5 +150,5 @@ index 08f855a42559..12d385e3308f 100644
pub static TOOLS: &[&str] = &[
"rustc",
--
-2.49.0
+2.53.0
diff --git a/0004-Remove-unused-git-based-versioning.patch b/0004-Remove-unused-git-based-versioning.patch
index 4dec232..a5f22b2 100644
--- a/0004-Remove-unused-git-based-versioning.patch
+++ b/0004-Remove-unused-git-based-versioning.patch
@@ -1,46 +1,47 @@
-From 2fe3b9866700205ef5af904a9bb9897c94fe777c Mon Sep 17 00:00:00 2001
+From c65293ea63b578a4f67acc6fea5051710e31d26e Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Thu, 23 May 2024 18:05:00 +0200
Subject: [PATCH 4/6] Remove unused git-based versioning
---
Cargo.toml | 1 -
- src/cli/common.rs | 64 ++----------------------------------------
+ src/cli/common.rs | 63 +-----------------------------------------
src/cli/rustup_mode.rs | 2 +-
src/cli/setup_mode.rs | 9 ------
- 4 files changed, 3 insertions(+), 73 deletions(-)
+ 4 files changed, 2 insertions(+), 73 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index c53c9ea14aad..95821c1d93ca 100644
+index 0793cb7fb1a4..7aaf6ea53d82 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -50,7 +50,6 @@ enum-map = "2.5.0"
- env_proxy = { version = "0.4.1", optional = true }
+@@ -55,7 +55,6 @@ env_proxy = { version = "0.4.1", optional = true }
flate2 = { version = "1.1.1", default-features = false, features = ["zlib-rs"] }
fs_at = "0.2.1"
+ futures-util = "0.3.31"
-git-testament = "0.2"
home = "0.5.4"
+ indicatif = "0.18"
itertools = "0.14"
- libc = "0.2"
diff --git a/src/cli/common.rs b/src/cli/common.rs
-index ba415f1922c0..f3b7c1c3fbc5 100644
+index 1db6bd80e81f..472a4dab1783 100644
--- a/src/cli/common.rs
+++ b/src/cli/common.rs
-@@ -7,11 +7,10 @@ use std::fs;
- use std::io::ErrorKind;
+@@ -4,13 +4,11 @@ use std::fmt::Display;
+ use std::fs;
use std::io::{BufRead, Write};
- use std::path::{Path, PathBuf};
--use std::sync::{Arc, LazyLock, Mutex};
-+use std::sync::{Arc, Mutex};
+ use std::path::Path;
+-use std::sync::LazyLock;
use std::{cmp, env};
+ use anstyle::Style;
use anyhow::{Context, Result, anyhow};
+ use clap_cargo::style::{CONTEXT, ERROR, UPDATE_ADDED, UPDATE_UNCHANGED, UPDATE_UPGRADED};
-use git_testament::{git_testament, render_testament};
- use tracing::{debug, error, info, trace, warn};
+ use tracing::{error, info, warn};
use tracing_subscriber::{EnvFilter, Registry, reload::Handle};
-@@ -516,67 +515,8 @@ pub(crate) fn list_overrides(cfg: &Cfg<'_>) -> Result<utils::ExitCode> {
- Ok(utils::ExitCode(0))
+@@ -377,67 +375,8 @@ pub(crate) fn list_overrides(cfg: &Cfg<'_>) -> Result<ExitCode> {
+ Ok(ExitCode::SUCCESS)
}
-git_testament!(TESTAMENT);
@@ -53,7 +54,7 @@ index ba415f1922c0..f3b7c1c3fbc5 100644
- &RENDERED
-}
-
--pub(crate) fn dump_testament(process: &Process) -> Result<utils::ExitCode> {
+-pub(crate) fn dump_testament(process: &Process) -> Result<ExitCode> {
- use git_testament::GitModification::*;
- writeln!(
- process.stdout().lock(),
@@ -103,16 +104,16 @@ index ba415f1922c0..f3b7c1c3fbc5 100644
- }
- }
- }
-- Ok(utils::ExitCode(0))
-+ "1.28.2"
+- Ok(ExitCode::SUCCESS)
++ "1.29.0"
}
fn show_backtrace(process: &Process) -> bool {
diff --git a/src/cli/rustup_mode.rs b/src/cli/rustup_mode.rs
-index 198dee791e87..8e69d120b092 100644
+index d1b438820cd7..493438156ae2 100644
--- a/src/cli/rustup_mode.rs
+++ b/src/cli/rustup_mode.rs
-@@ -607,7 +607,7 @@ pub async fn main(
+@@ -637,7 +637,7 @@ pub async fn main(
};
match subcmd {
@@ -122,10 +123,10 @@ index 198dee791e87..8e69d120b092 100644
RustupSubcmd::Uninstall { opts } => toolchain_remove(cfg, opts).await,
RustupSubcmd::Show { verbose, subcmd } => handle_epipe(match subcmd {
diff --git a/src/cli/setup_mode.rs b/src/cli/setup_mode.rs
-index 085c3f3020f2..23023b906948 100644
+index c4ec420e5c10..cd0099f1ca00 100644
--- a/src/cli/setup_mode.rs
+++ b/src/cli/setup_mode.rs
-@@ -67,10 +67,6 @@ struct RustupInit {
+@@ -69,10 +69,6 @@ struct RustupInit {
/// Secret command used during self-update. Not for users
#[arg(long, hide = true)]
self_replace: bool,
@@ -136,7 +137,7 @@ index 085c3f3020f2..23023b906948 100644
}
#[tracing::instrument(level = "trace", skip(process, console_filter))]
-@@ -93,7 +89,6 @@ pub async fn main(
+@@ -95,7 +91,6 @@ pub async fn main(
no_update_default_toolchain,
no_modify_path,
self_replace,
@@ -144,7 +145,7 @@ index 085c3f3020f2..23023b906948 100644
} = match RustupInit::try_parse() {
Ok(args) => args,
Err(e) if [ErrorKind::DisplayHelp, ErrorKind::DisplayVersion].contains(&e.kind()) => {
-@@ -107,10 +102,6 @@ pub async fn main(
+@@ -110,10 +105,6 @@ pub async fn main(
return self_update::self_replace(process);
}
@@ -156,5 +157,5 @@ index 085c3f3020f2..23023b906948 100644
warn!("{}", common::WARN_COMPLETE_PROFILE);
}
--
-2.49.0
+2.53.0
diff --git a/0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch b/0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch
index 35a1f83..09e2cf9 100644
--- a/0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch
+++ b/0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch
@@ -1,4 +1,4 @@
-From 6d38e34187a6a98f320e48e27045b2ce6825d46f Mon Sep 17 00:00:00 2001
+From ee6551bde510285d77f4bfc1e4f720011b6e9cbd Mon Sep 17 00:00:00 2001
From: Josh Stone <jistone@redhat.com>
Date: Fri, 30 May 2025 15:34:12 -0700
Subject: [PATCH 5/6] Revert back to rustls/ring instead of aws_lc_rs
@@ -9,40 +9,40 @@ Subject: [PATCH 5/6] Revert back to rustls/ring instead of aws_lc_rs
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 95821c1d93ca..562e7a06cf2d 100644
+index 7aaf6ea53d82..643096c31126 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -66,7 +66,7 @@ regex = "1"
+@@ -77,7 +77,7 @@ regex = "1"
remove_dir_all = { version = "1.0.0", features = ["parallel"] }
- reqwest = { version = "0.12", default-features = false, features = ["blocking", "gzip", "http2", "socks", "stream"], optional = true }
+ reqwest = { version = "0.13", default-features = false, features = ["blocking", "gzip", "http2", "socks", "stream"], optional = true }
retry = { version = "2", default-features = false, features = ["random"] }
-rustls = { version = "0.23", optional = true, default-features = false, features = ["logging", "aws_lc_rs", "tls12"] }
+rustls = { version = "0.23", optional = true, default-features = false, features = ["logging", "ring", "tls12"] }
- rustls-platform-verifier = { version = "0.5", optional = true }
+ rustls-platform-verifier = { version = "0.6", optional = true }
same-file = "1"
semver = "1.0"
diff --git a/src/download/mod.rs b/src/download/mod.rs
-index 2333846fe1ac..36e8d1a57681 100644
+index 31f7c83624c0..93be2e85c32c 100644
--- a/src/download/mod.rs
+++ b/src/download/mod.rs
-@@ -532,7 +532,7 @@ mod reqwest_be {
+@@ -565,7 +565,7 @@ mod reqwest_be {
use anyhow::{Context, anyhow};
use reqwest::{Client, ClientBuilder, Proxy, Response, header};
#[cfg(feature = "reqwest-rustls-tls")]
- use rustls::crypto::aws_lc_rs;
+ use rustls::crypto::ring;
#[cfg(feature = "reqwest-rustls-tls")]
- use rustls_platform_verifier::BuilderVerifierExt;
+ use rustls_platform_verifier::Verifier;
use tokio_stream::StreamExt;
-@@ -589,7 +589,7 @@ mod reqwest_be {
- #[cfg(feature = "reqwest-rustls-tls")]
- pub(super) static CLIENT_RUSTLS_TLS: LazyLock<Client> = LazyLock::new(|| {
- let mut tls_config =
-- rustls::ClientConfig::builder_with_provider(Arc::new(aws_lc_rs::default_provider()))
-+ rustls::ClientConfig::builder_with_provider(Arc::new(ring::default_provider()))
- .with_safe_default_protocol_versions()
- .unwrap()
- .with_platform_verifier()
+@@ -627,7 +627,7 @@ mod reqwest_be {
+ return Ok(client);
+ }
+
+- let provider = Arc::new(aws_lc_rs::default_provider());
++ let provider = Arc::new(ring::default_provider());
+ #[cfg(not(target_os = "android"))]
+ let result =
+ Verifier::new_with_extra_roots(RUSTUP_TRUST_ANCHORS.iter().cloned(), provider.clone());
--
-2.49.0
+2.53.0
diff --git a/0006-Disable-tests-suite-static_roots.patch b/0006-Disable-tests-suite-static_roots.patch
new file mode 100644
index 0000000..623b98b
--- /dev/null
+++ b/0006-Disable-tests-suite-static_roots.patch
@@ -0,0 +1,39 @@
+From 0518d7c858804c5cabcb210f4cdf15973dfcdf82 Mon Sep 17 00:00:00 2001
+From: Josh Stone <jistone@redhat.com>
+Date: Sat, 14 Mar 2026 15:30:36 -0700
+Subject: [PATCH 6/6] Disable tests/suite/static_roots
+
+This test only exists to make sure `src/anchors.rs` is up to date, but
+we can't access that in package builds anyway. We could just skip it,
+but removing it from the build entirely lets us drop a few dependencies.
+---
+ Cargo.toml | 3 ---
+ tests/suite/mod.rs | 1 -
+ 2 files changed, 4 deletions(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 643096c31126..e1556329bf11 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -114,9 +114,6 @@ http-body-util = "0.1.0"
+ hyper = { version = "1.0", default-features = false, features = ["server", "http1"] }
+ hyper-util = { version = "0.1.1", features = ["tokio"] }
+ proptest = "1.1.0"
+-rustls-webpki = { version = "0.103.3" }
+-tokio-rustls = "0.26.4"
+-webpki-root-certs = "1"
+
+ [build-dependencies]
+ platforms = "3.4"
+diff --git a/tests/suite/mod.rs b/tests/suite/mod.rs
+index 296102d67ac7..240e1042c7c1 100644
+--- a/tests/suite/mod.rs
++++ b/tests/suite/mod.rs
+@@ -10,4 +10,3 @@ mod cli_v1;
+ mod cli_v2;
+ mod dist_install;
+ mod known_tuples;
+-mod static_roots;
+--
+2.53.0
+
diff --git a/rustup.spec b/rustup.spec
index b95e140..60ec52e 100644
--- a/rustup.spec
+++ b/rustup.spec
@@ -5,7 +5,7 @@
%global cargo_install_lib 0
Name: rustup
-Version: 1.28.2
+Version: 1.29.0
Release: %autorelease
Summary: Manage multiple rust installations with ease
@@ -14,7 +14,6 @@ SourceLicense: MIT OR Apache-2.0
# 0BSD OR MIT OR Apache-2.0
# Apache-2.0
# Apache-2.0 AND ISC AND (MIT OR Apache-2.0)
-# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR ISC OR MIT
# Apache-2.0 OR MIT
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
@@ -44,9 +43,12 @@ Patch: 0003-Remove-unused-tracing-support.patch
Patch: 0004-Remove-unused-git-based-versioning.patch
# * Revert back to rustls/ring instead of aws_lc_rs
Patch: 0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.patch
-# * Serialize all tests with proxy-sensitive URLs
-# https://github.com/rust-lang/rustup/pull/4372
-Patch: 0001-Serialize-all-tests-with-proxy-sensitive-URLs.patch
+# * Disable tests/suite/static_roots to avoid a few dev-deps
+Patch: 0006-Disable-tests-suite-static_roots.patch
+# * Unpin tracing-subscriber
+# https://github.com/rust-lang/rustup/pull/4745
+# https://github.com/tokio-rs/tracing/issues/3369
+Patch: 0001-Unpin-tracing-subcriber.patch
ExcludeArch: %{ix86}
diff --git a/sources b/sources
index 4a7f4a9..8efec91 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustup-1.28.2.tar.gz) = dc85f4551e9d3d9d105e4a5c8a7544b6944c82ca4db167a6993e1e0cea498221471b891cefc15e7f634a8528678bb8438dbddadb80a8afe19fbc69bb74817049
+SHA512 (rustup-1.29.0.tar.gz) = 50f013e98bd4d83a97d8aedcfc08d603dea51ef30fa9bd9048bbbec4ee884304f15b47bc9da94f6077838fc1ba384744cb6600418cb370765739e20635bffd63
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-18 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 21:44 [rpms/rustup] epel10: Update to 1.29.0; Fixes RHBZ#2447037 Josh Stone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox