public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rustup] f43: Update to version 1.29.3; Fixes RHBZ#2526789
@ 2026-11-18 18:36 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-18 18:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rustup
Branch : f43
Commit : d9cd945514003fc2cacf8db9d45a5761708b6128
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-11-18T00:29:38+01:00
Stats : +107/-201 in 12 file(s)
URL : https://src.fedoraproject.org/rpms/rustup/c/d9cd945514003fc2cacf8db9d45a5761708b6128?branch=f43
Log:
Update to version 1.29.3; Fixes RHBZ#2526789
---
diff --git a/.gitignore b/.gitignore
index 54ac4a1..fbd16a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/rustup-1.27.1.tar.gz
/rustup-1.28.2.tar.gz
/rustup-1.29.0.tar.gz
+/rustup-1.29.3.tar.gz
diff --git a/0001-Drop-Windows-specific-dependencies.patch b/0001-Drop-Windows-specific-dependencies.patch
index 0cdb143..18c8140 100644
--- a/0001-Drop-Windows-specific-dependencies.patch
+++ b/0001-Drop-Windows-specific-dependencies.patch
@@ -1,25 +1,24 @@
-From 69501f917ea4b2237b82202e3012db9404ef04af Mon Sep 17 00:00:00 2001
+From 6514f77beba8e90bbefa3e17697a30aec51d0dd6 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/9] Drop Windows-specific dependencies
+Date: Wed, 11 Nov 2026 15:34:46 +0100
+Subject: [PATCH 1/6] Drop Windows-specific dependencies
---
- Cargo.toml | 27 ---------------------------
- 1 file changed, 27 deletions(-)
+ Cargo.toml | 32 --------------------------------
+ 1 file changed, 32 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 69940708..ac9f4600 100644
+index 46f6fbc..4bcaad1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -112,33 +112,6 @@ zstd = { version = "0.13", default-features = false }
+@@ -111,38 +111,6 @@ zstd = { version = "0.14", 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.6"
--windows-result = "0.4"
+-windows-registry = "0.100"
+-windows-result = "0.100"
-
-[target."cfg(windows)".dependencies.windows-sys]
-features = [
@@ -42,9 +41,15 @@ index 69940708..ac9f4600 100644
-]
-version = "0.61"
-
+-# HACK: Temporarily pinned due to `zlib` regression, to be removed when
+-# <https://github.com/madler/zlib/issues/1168> is resolved.
+-# See: <https://github.com/rust-lang/rustup/issues/4760>
+-[target.'cfg(target_os = "freebsd")'.dependencies]
+-libz-sys = "=1.1.24"
+-
[dev-dependencies]
- enum-map = "2.5.0"
- http-body-util = "0.1.0"
+ enum-map = "3.0.0"
+ proptest = "1.1.0"
--
-2.55.0
+2.56.0
diff --git a/0002-Drop-feature-for-statically-linking-against-vendored.patch b/0002-Drop-feature-for-statically-linking-against-vendored.patch
index d09a92c..8b9e976 100644
--- a/0002-Drop-feature-for-statically-linking-against-vendored.patch
+++ b/0002-Drop-feature-for-statically-linking-against-vendored.patch
@@ -1,7 +1,7 @@
-From 085ba9b3c0d8b7e7c17ce31a8868ecc812de4caf Mon Sep 17 00:00:00 2001
+From 2af90c6fe2fbda30cda5d965d41d2d7628fbcae3 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/9] Drop feature for statically linking against vendored
+Subject: [PATCH 2/6] Drop feature for statically linking against vendored
OpenSSL
---
@@ -9,7 +9,7 @@ Subject: [PATCH 2/9] Drop feature for statically linking against vendored
1 file changed, 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index ac9f4600..9369ae86 100644
+index 4bcaad1..6828ced 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,8 +14,6 @@ build = "build.rs"
@@ -22,5 +22,5 @@ index ac9f4600..9369ae86 100644
reqwest-rustls-tls = [
"reqwest/rustls-no-provider",
--
-2.55.0
+2.56.0
diff --git a/0003-Remove-unused-tracing-support.patch b/0003-Remove-unused-tracing-support.patch
index c1ce55b..4886f35 100644
--- a/0003-Remove-unused-tracing-support.patch
+++ b/0003-Remove-unused-tracing-support.patch
@@ -1,7 +1,7 @@
-From 944d58269bff369e2a2a6af2794f8757fb428a5b Mon Sep 17 00:00:00 2001
+From 931161c60de1033cfa0cce64be1d89725d7749d5 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/9] Remove unused tracing support
+Subject: [PATCH 3/6] Remove unused tracing support
---
Cargo.toml | 1 -
@@ -12,25 +12,25 @@ Subject: [PATCH 3/9] Remove unused tracing support
5 files changed, 25 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 9369ae86..0793cb7f 100644
+index 6828ced..4aceb88 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -78,7 +78,6 @@ regex = "1"
+@@ -79,7 +79,6 @@ regex = "1"
remove_dir_all = { version = "1.0.0", features = ["parallel"] }
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.6", optional = true }
+ rustls-platform-verifier = { version = "0.7", optional = true }
same-file = "1"
diff --git a/src/bin/rustup-init.rs b/src/bin/rustup-init.rs
-index e844ddc1..62f50abf 100644
+index ded74b2..9c404b1 100644
--- a/src/bin/rustup-init.rs
+++ b/src/bin/rustup-init.rs
-@@ -17,10 +17,6 @@ use std::process::ExitCode;
+@@ -16,10 +16,6 @@
+ use std::process::ExitCode;
use anyhow::{Context, Result, anyhow};
- use cfg_if::cfg_if;
-// Public macros require availability of the internal symbols
-use rs_tracing::{
- close_trace_file, close_trace_file_internal, open_trace_file, trace_to_file_internal,
@@ -38,7 +38,7 @@ index e844ddc1..62f50abf 100644
use tracing_subscriber::{EnvFilter, Registry, reload::Handle};
use rustup::cli::errors::CliError;
-@@ -67,13 +63,7 @@ async fn run_rustup(
+@@ -66,13 +62,7 @@ async fn run_rustup(
process: &Process,
console_filter: Handle<EnvFilter, Registry>,
) -> Result<utils::ExitCode> {
@@ -53,18 +53,18 @@ index e844ddc1..62f50abf 100644
}
diff --git a/src/diskio/immediate.rs b/src/diskio/immediate.rs
-index 2c7dd518..bfa7de4f 100644
+index 779acd3..94247ef 100644
--- a/src/diskio/immediate.rs
+++ b/src/diskio/immediate.rs
-@@ -166,7 +166,6 @@ impl IncrementalFileWriter {
+@@ -158,7 +158,6 @@ impl IncrementalFileWriter {
let path = path.as_ref();
let path_display = format!("{}", path.display());
let file = Some({
- trace_scoped!("creat", "name": path_display);
opts.write(true).create(true).truncate(true).open(path)?
});
- Ok(IncrementalFileWriter {
-@@ -208,11 +207,9 @@ impl IncrementalFileWriter {
+ Ok(Self {
+@@ -200,11 +199,9 @@ impl IncrementalFileWriter {
};
// Length 0 vector is used for clean EOF signalling.
if chunk.is_empty() {
@@ -77,10 +77,10 @@ index 2c7dd518..bfa7de4f 100644
state.completed_chunks.push(chunk.len());
diff --git a/src/diskio/mod.rs b/src/diskio/mod.rs
-index f2400ed1..5b307ffa 100644
+index 5599a97..bd47723 100644
--- a/src/diskio/mod.rs
+++ b/src/diskio/mod.rs
-@@ -372,17 +372,14 @@ pub(crate) fn write_file<P: AsRef<Path>, C: AsRef<[u8]>>(
+@@ -380,17 +380,14 @@ fn write_file<P: AsRef<Path>, C: AsRef<[u8]>>(path: P, contents: C, mode: u32) -
let path = path.as_ref();
let path_display = format!("{}", path.display());
let mut f = {
@@ -98,7 +98,7 @@ index f2400ed1..5b307ffa 100644
drop(f);
}
Ok(())
-@@ -404,7 +401,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -412,7 +409,6 @@ 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 f2400ed1..5b307ffa 100644
opts.write(true).create(true).truncate(true).open(path)?
};
if let IncrementalFile::ThreadedReceiver(recv) = content_callback {
-@@ -415,12 +411,10 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -423,12 +419,10 @@ 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 f2400ed1..5b307ffa 100644
f.write_all(&contents)?;
drop(contents);
chunk_complete_callback(len);
-@@ -430,7 +424,6 @@ pub(crate) fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+@@ -438,7 +432,6 @@ fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
unreachable!();
}
{
@@ -127,8 +127,8 @@ index f2400ed1..5b307ffa 100644
drop(f);
}
Ok(())
-@@ -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<()> {
+@@ -447,7 +440,6 @@ fn write_file_incremental<P: AsRef<Path>, F: Fn(usize)>(
+ fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
let path = path.as_ref();
let path_display = format!("{}", path.display());
- trace_scoped!("create_dir", "name": path_display);
@@ -136,10 +136,10 @@ index f2400ed1..5b307ffa 100644
}
diff --git a/src/lib.rs b/src/lib.rs
-index 7192d9ea..8ec4f534 100644
+index 0daf2f6..3a1e6d3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
-@@ -14,9 +14,6 @@ use anyhow::{Result, anyhow};
+@@ -9,9 +9,6 @@ use anyhow::{Result, anyhow};
use errors::RustupError;
use itertools::{Itertools, chain};
@@ -150,5 +150,5 @@ index 7192d9ea..8ec4f534 100644
pub static TOOLS: &[&str] = &[
"rustc",
--
-2.55.0
+2.56.0
diff --git a/0004-Remove-unused-git-based-versioning.patch b/0004-Remove-unused-git-based-versioning.patch
index df12298..0950979 100644
--- a/0004-Remove-unused-git-based-versioning.patch
+++ b/0004-Remove-unused-git-based-versioning.patch
@@ -1,46 +1,40 @@
-From 7889b2aa1614e2229509fe411151cdefd1e30390 Mon Sep 17 00:00:00 2001
+From 6e2a6c0ae8f02c317ab0b0aea496b35c9d22b3ca 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/9] Remove unused git-based versioning
+Subject: [PATCH 4/6] Remove unused git-based versioning
---
Cargo.toml | 1 -
- src/cli/common.rs | 63 +-----------------------------------------
+ src/cli/common.rs | 62 +-----------------------------------------
src/cli/rustup_mode.rs | 2 +-
src/cli/setup_mode.rs | 9 ------
- 4 files changed, 2 insertions(+), 73 deletions(-)
+ 4 files changed, 2 insertions(+), 72 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 0793cb7f..7aaf6ea5 100644
+index 4aceb88..331cc0f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -55,7 +55,6 @@ env_proxy = { version = "0.4.1", optional = true }
+@@ -56,7 +56,6 @@ faster-hex = "1"
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"
+ http-body-util = "0.1.0"
+ hyper = { version = "1.0", default-features = false, features = ["server", "http1"] }
diff --git a/src/cli/common.rs b/src/cli/common.rs
-index 1db6bd80..472a4dab 100644
+index e9d9ccd..3a99f63 100644
--- a/src/cli/common.rs
+++ b/src/cli/common.rs
-@@ -4,13 +4,11 @@ use std::fmt::Display;
- use std::fs;
- use std::io::{BufRead, Write};
- use std::path::Path;
--use std::sync::LazyLock;
- use std::{cmp, env};
-
- use anstyle::Style;
+@@ -11,7 +11,6 @@ use anstyle::Style;
use anyhow::{Context, Result, anyhow};
use clap_cargo::style::{CONTEXT, ERROR, UPDATE_ADDED, UPDATE_UNCHANGED, UPDATE_UPGRADED};
+ use futures_util::future::join_all;
-use git_testament::{git_testament, render_testament};
use tracing::{error, info, warn};
use tracing_subscriber::{EnvFilter, Registry, reload::Handle};
-@@ -377,67 +375,8 @@ pub(crate) fn list_overrides(cfg: &Cfg<'_>) -> Result<ExitCode> {
+@@ -395,67 +394,8 @@ pub(crate) fn list_overrides(cfg: &Cfg<'_>) -> Result<ExitCode> {
Ok(ExitCode::SUCCESS)
}
@@ -105,28 +99,28 @@ index 1db6bd80..472a4dab 100644
- }
- }
- Ok(ExitCode::SUCCESS)
-+ "1.29.0"
++ "1.29.3"
}
fn show_backtrace(process: &Process) -> bool {
diff --git a/src/cli/rustup_mode.rs b/src/cli/rustup_mode.rs
-index d1b43882..49343815 100644
+index 8dbe6da..01703ee 100644
--- a/src/cli/rustup_mode.rs
+++ b/src/cli/rustup_mode.rs
-@@ -637,7 +637,7 @@ pub async fn main(
- };
+@@ -715,7 +715,7 @@ pub async fn main(
+ let should_warn = subcmd.should_warn_empty_setup();
- match subcmd {
+ let exit_code = match subcmd {
- RustupSubcmd::DumpTestament => common::dump_testament(process),
+ RustupSubcmd::DumpTestament => unimplemented!(),
RustupSubcmd::Install { opts } => update(cfg, opts, true).await,
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 c4ec420e..cd0099f1 100644
+index f0eeb4e..9fedbb2 100644
--- a/src/cli/setup_mode.rs
+++ b/src/cli/setup_mode.rs
-@@ -69,10 +69,6 @@ struct RustupInit {
+@@ -68,10 +68,6 @@ struct RustupInit {
/// Secret command used during self-update. Not for users
#[arg(long, hide = true)]
self_replace: bool,
@@ -137,7 +131,7 @@ index c4ec420e..cd0099f1 100644
}
#[tracing::instrument(level = "trace", skip(process, console_filter))]
-@@ -95,7 +91,6 @@ pub async fn main(
+@@ -94,7 +90,6 @@ pub async fn main(
no_update_default_toolchain,
no_modify_path,
self_replace,
@@ -145,7 +139,7 @@ index c4ec420e..cd0099f1 100644
} = match RustupInit::try_parse() {
Ok(args) => args,
Err(e) if [ErrorKind::DisplayHelp, ErrorKind::DisplayVersion].contains(&e.kind()) => {
-@@ -110,10 +105,6 @@ pub async fn main(
+@@ -109,10 +104,6 @@ pub async fn main(
return self_update::self_replace(process);
}
@@ -157,5 +151,5 @@ index c4ec420e..cd0099f1 100644
warn!("{}", common::WARN_COMPLETE_PROFILE);
}
--
-2.55.0
+2.56.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 8800b31..0b0a8b7 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,7 +1,7 @@
-From c5908778506756487abc37fdb62aafdd97b08f04 Mon Sep 17 00:00:00 2001
+From 91f8a2ee269f6167f71ad2cb6764a74f6c9b5e71 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/9] Revert back to rustls/ring instead of aws_lc_rs
+Subject: [PATCH 5/6] Revert back to rustls/ring instead of aws_lc_rs
---
Cargo.toml | 2 +-
@@ -9,20 +9,20 @@ Subject: [PATCH 5/9] 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 7aaf6ea5..643096c3 100644
+index 331cc0f..26d3bab 100644
--- a/Cargo.toml
+++ b/Cargo.toml
-@@ -77,7 +77,7 @@ regex = "1"
+@@ -78,7 +78,7 @@ regex = "1"
remove_dir_all = { version = "1.0.0", features = ["parallel"] }
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.6", optional = true }
+ rustls-platform-verifier = { version = "0.7", optional = true }
same-file = "1"
semver = "1.0"
diff --git a/src/download/mod.rs b/src/download/mod.rs
-index 31f7c836..93be2e85 100644
+index 31f7c83..93be2e8 100644
--- a/src/download/mod.rs
+++ b/src/download/mod.rs
@@ -565,7 +565,7 @@ mod reqwest_be {
@@ -44,5 +44,5 @@ index 31f7c836..93be2e85 100644
let result =
Verifier::new_with_extra_roots(RUSTUP_TRUST_ANCHORS.iter().cloned(), provider.clone());
--
-2.55.0
+2.56.0
diff --git a/0006-Disable-tests-suite-static_roots.patch b/0006-Disable-tests-suite-static_roots.patch
index d62376a..72f23d0 100644
--- a/0006-Disable-tests-suite-static_roots.patch
+++ b/0006-Disable-tests-suite-static_roots.patch
@@ -1,7 +1,7 @@
-From df7fdaa552f0291f6e85b0d2dbb9af64493befda Mon Sep 17 00:00:00 2001
+From 9dfa7800e138d85e08dfe5d05c96e8d15339ec43 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/9] Disable tests/suite/static_roots
+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,
@@ -12,28 +12,28 @@ but removing it from the build entirely lets us drop a few dependencies.
2 files changed, 4 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 643096c3..e1556329 100644
+index 26d3bab..7f5fe59 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"] }
+@@ -110,9 +110,6 @@ walkdir = { version = "2", optional = true }
+ [dev-dependencies]
+ enum-map = "3.0.0"
proptest = "1.1.0"
-rustls-webpki = { version = "0.103.3" }
-tokio-rustls = "0.26.4"
-webpki-root-certs = "1"
[build-dependencies]
- platforms = "3.4"
+ platforms = "4"
diff --git a/tests/suite/mod.rs b/tests/suite/mod.rs
-index 296102d6..240e1042 100644
+index 2fa175e..fc3158a 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 known_target_tuples;
-mod static_roots;
--
-2.55.0
+2.56.0
diff --git a/0007-Unpin-tracing-subcriber.patch b/0007-Unpin-tracing-subcriber.patch
deleted file mode 100644
index ede250d..0000000
--- a/0007-Unpin-tracing-subcriber.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 9cf8c68961fb0c481d48f133bca106b955fad63d Mon Sep 17 00:00:00 2001
-From: Dirkjan Ochtman <dirkjan@ochtman.nl>
-Date: Fri, 13 Mar 2026 11:10:49 +0100
-Subject: [PATCH 7/9] 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 e1556329..2334b86c 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -96,9 +96,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 17f1e874..ab20922a 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.55.0
-
diff --git a/0008-Upgrade-to-rustls-platform-verifier-0.7.patch b/0008-Upgrade-to-rustls-platform-verifier-0.7.patch
deleted file mode 100644
index 0bb93d6..0000000
--- a/0008-Upgrade-to-rustls-platform-verifier-0.7.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 34fca8d8a0488258f5975543cb2d8528d9008215 Mon Sep 17 00:00:00 2001
-From: Dirkjan Ochtman <dirkjan@ochtman.nl>
-Date: Sun, 12 Apr 2026 12:19:32 +0200
-Subject: [PATCH 8/9] Upgrade to rustls-platform-verifier 0.7
-
-(without changes to Cargo.lock)
----
- Cargo.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index 2334b86c..e37cddf6 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -78,7 +78,7 @@ remove_dir_all = { version = "1.0.0", features = ["parallel"] }
- 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", "ring", "tls12"] }
--rustls-platform-verifier = { version = "0.6", optional = true }
-+rustls-platform-verifier = { version = "0.7", optional = true }
- same-file = "1"
- semver = "1.0"
- serde = { version = "1.0", features = ["derive"] }
---
-2.55.0
-
diff --git a/0009-fix-deps-update-rust-crate-clap-cargo-to-0.19.0.patch b/0009-fix-deps-update-rust-crate-clap-cargo-to-0.19.0.patch
deleted file mode 100644
index 8c124f6..0000000
--- a/0009-fix-deps-update-rust-crate-clap-cargo-to-0.19.0.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 3593ae60e552fbbcde9479d33c89077bfe20b83a Mon Sep 17 00:00:00 2001
-From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
-Date: Fri, 21 Aug 2026 20:13:22 +0000
-Subject: [PATCH 9/9] fix(deps): update rust crate clap-cargo to 0.19.0
-
-(without changes to Cargo.lock)
----
- Cargo.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index e37cddf6..fab20fdc 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -45,7 +45,7 @@ anyhow = "1.0.69"
- cfg-if = "1.0"
- chrono = { version = "0.4", default-features = false, features = ["std"] }
- clap = { version = "4", features = ["derive", "wrap_help", "string"] }
--clap-cargo = "0.18.3"
-+clap-cargo = "0.19.0"
- clap_complete = "4"
- console = "0.16"
- curl = { version = "0.4.44", optional = true }
---
-2.55.0
-
diff --git a/rustup.spec b/rustup.spec
index 07e8e7b..6d4b5f7 100644
--- a/rustup.spec
+++ b/rustup.spec
@@ -1,11 +1,8 @@
-# Generated by rust2rpm 27
-%bcond_without check
-
-# prevent library files from being installed
-%global cargo_install_lib 0
+# disable tests until they are adapted for Rust 1.100 builddir layout changes
+%bcond check 0
Name: rustup
-Version: 1.29.0
+Version: 1.29.3
Release: %autorelease
Summary: Manage multiple rust installations with ease
@@ -26,7 +23,23 @@ SourceLicense: MIT OR Apache-2.0
# Unicode-3.0
# Unlicense OR MIT
# Zlib
-License: Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT)
+License: %{shrink:
+ (MIT OR Apache-2.0)
+ AND Apache-2.0
+ AND BSD-3-Clause
+ AND ISC
+ AND MIT
+ AND Unicode-3.0
+ AND Unicode-DFS-2016
+ AND Zlib
+ AND (0BSD OR MIT OR Apache-2.0)
+ AND (Apache-2.0 OR BSL-1.0)
+ AND (Apache-2.0 OR ISC OR MIT)
+ AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
+ AND (BSD-2-Clause OR Apache-2.0 OR MIT)
+ AND (MIT OR Zlib OR Apache-2.0)
+ AND (Unlicense OR MIT)
+}
# LICENSE.dependencies contains a full license breakdown
URL: https://github.com/rust-lang/rustup
@@ -45,19 +58,6 @@ Patch: 0004-Remove-unused-git-based-versioning.patch
Patch: 0005-Revert-back-to-rustls-ring-instead-of-aws_lc_rs.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: 0007-Unpin-tracing-subcriber.patch
-
-# Upgrade to rustls-platform-verifier 0.7
-# (without changes to Cargo.lock)
-# https://github.com/rust-lang/rustup/commit/4d7b4b68b9736aa1dccf43c4b6df0976e88b3c8a
-Patch: 0008-Upgrade-to-rustls-platform-verifier-0.7.patch
-# fix(deps): update rust crate clap-cargo to 0.19.0
-# (without changes to Cargo.lock)
-# https://github.com/rust-lang/rustup/commit/831470a7345dd1cb5d77b2efb48e5e4c13c527f4
-Patch: 0009-fix-deps-update-rust-crate-clap-cargo-to-0.19.0.patch
ExcludeArch: %{ix86}
@@ -81,7 +81,7 @@ Manage multiple rust installations with ease.}
%{cargo_license -f no-self-update} > LICENSE.dependencies
%install
-%cargo_install -f no-self-update
+install -Dpm 0755 target/rpm/rustup-init -t %{buildroot}/%{_bindir}
# generate and install shell completions
cp -pav target/rpm/rustup-init target/rpm/rustup
diff --git a/sources b/sources
index 8efec91..c04b174 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustup-1.29.0.tar.gz) = 50f013e98bd4d83a97d8aedcfc08d603dea51ef30fa9bd9048bbbec4ee884304f15b47bc9da94f6077838fc1ba384744cb6600418cb370765739e20635bffd63
+SHA512 (rustup-1.29.3.tar.gz) = e7c31c3f4a63af556ff5b738d4f2c4cb0e3d1560544cb703ad8cc01c63409ee4406137b273142a065bbf6e8c9dc079c6aa445adce1e95bc0090dce8a9f2fb137
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-18 18:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 18:36 [rpms/rustup] f43: Update to version 1.29.3; Fixes RHBZ#2526789 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox