public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.83 commit in: /
Date: Tue, 03 Jun 2025 04:33:16 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.84 commit in: /
Date: Tue, 03 Jun 2025 04:33:17 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043317.8AsCUBEw-Bp45AtcNa-BzlxIPA7FWdmmLsx9RcP8TBE@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.85 commit in: /
Date: Tue, 03 Jun 2025 04:33:18 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043318.qmghbfoKPpGVrlB54hZ9Kq56UzzTzhzdNzf8rwqet94@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.86 commit in: /
Date: Tue, 03 Jun 2025 04:33:19 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043319.nHwn2JDwqmUfmQpCLIUzvVQWdCBrs7L6OI-MPqtZsX4@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.87 commit in: /
Date: Tue, 03 Jun 2025 04:33:20 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043320.FZV820LLWwc-0Ti9IWd2O3WqzumwuQfePo4ikMohomQ@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.88 commit in: /
Date: Tue, 03 Jun 2025 04:33:22 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043322.2T916OB0NxI7aKUhIOlutXRllKTuh-hiFUQvhsq-CVE@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.83.0-r3 commit in: /
Date: Tue, 03 Jun 2025 04:33:46 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043346.1JcZEKaIp-dxZYt-QbwARrdLwSsTaFTu_v4DMUfipr8@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.84.0-r2 commit in: /
Date: Tue, 03 Jun 2025 04:33:47 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043347.MBI0abV7KX6Z800lZxTRzAJQylHeN1ot7cq-V7-r_sc@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.84.1-r2 commit in: /
Date: Tue, 03 Jun 2025 04:33:48 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043348.iXYy5UUPo2dJdj0gLS5F43XykiDYlQyayOYtGVeRlf4@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.85.0-r2 commit in: /
Date: Tue, 03 Jun 2025 04:33:49 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043349.HccSXiRfV30Qa7GQutsUxixYhpCVHYpoX5T-L0sY-Sw@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.85.1-r1 commit in: /
Date: Tue, 03 Jun 2025 04:33:51 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043351.vo5xTQ_s0-CEcz-pM7bxCHfNil9vXrp2PeoiJpJNsRI@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.86.0-r2 commit in: /
Date: Tue, 03 Jun 2025 04:33:52 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043352.92t4qB--1PhipL6BqJbwz2MV2zuatnsdjm-8B5Y_W3c@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.87.0-r1 commit in: /
Date: Tue, 03 Jun 2025 04:33:53 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043353.fpCKK4t_j3966NWc-b0m86eTEruTIRfk4O4CCtuM8SY@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:1.88.0_beta20250526 commit in: /
Date: Tue, 03 Jun 2025 04:33:55 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043355.SvjoJngjpteFzT3mKhMRmOG5sC36aGtZQyALSAxHaLo@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


WARNING: multiple messages have this Message-ID (diff)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/rust-patches:master commit in: /
Date: Tue, 03 Jun 2025 04:34:35 +0000 (UTC)	[thread overview]
Message-ID: <1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo> (raw)
Message-ID: <20250603043435.kzkbIG6MAlQ-j_a97S82KFg7KWa9KCdV8aogQSx2BkI@z> (raw)

commit:     90415e67fa403895ce00294f9e7270f29a13913c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 04:31:40 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 04:31:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=90415e67

Add patches for Rust 1.83.0-r3

Patches:
- 1.78.0-musl-dynamic-linking.patch
- 1.83.0-cross-compile-libz.patch
- 1.67.0-doc-wasm.patch
- 1.83.0-dwarf-llvm-assertion.patch

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 1.74.1-cross-compile-libz.patch                     | 17 -----------------
 1.83.0-cross-compile-libz.patch                     | 21 +++++++++++++++++++++
 ...rtion.patch => 1.83.0-dwarf-llvm-assertion.patch |  7 +------
 3 files changed, 22 insertions(+), 23 deletions(-)

diff --git a/1.74.1-cross-compile-libz.patch b/1.74.1-cross-compile-libz.patch
deleted file mode 100644
index 98cec09..0000000
--- a/1.74.1-cross-compile-libz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
-https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
-
---- a/compiler/rustc_llvm/build.rs
-+++ b/compiler/rustc_llvm/build.rs
-@@ -237,10 +237,7 @@ fn main() {
-     // of llvm-config, not the target that we're attempting to link.
-     let mut cmd = Command::new(&llvm_config);
-     cmd.arg(llvm_link_arg).arg("--libs");
--
--    if !is_crossed {
--        cmd.arg("--system-libs");
--    }
-+    cmd.arg("--system-libs");
- 
-     if (target.starts_with("arm") && !target.contains("freebsd"))
-         || target.starts_with("mips-")

diff --git a/1.83.0-cross-compile-libz.patch b/1.83.0-cross-compile-libz.patch
new file mode 100644
index 0000000..12844fd
--- /dev/null
+++ b/1.83.0-cross-compile-libz.patch
@@ -0,0 +1,21 @@
+https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22
+https://github.com/gentoo/gentoo/pull/35246#discussion_r1484525497
+
+diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs
+index f606fa483ca..8a2e1c40e8b 100644
+--- a/compiler/rustc_llvm/build.rs
++++ b/compiler/rustc_llvm/build.rs
+@@ -220,12 +220,7 @@
+     let mut cmd = Command::new(&llvm_config);
+     cmd.arg(llvm_link_arg).arg("--libs");
+
+-    // Don't link system libs if cross-compiling unless targetting Windows.
+-    // On Windows system DLLs aren't linked directly, instead import libraries are used.
+-    // These import libraries are independent of the host.
+-    if !is_crossed || target.contains("windows") {
+-        cmd.arg("--system-libs");
+-    }
++    cmd.arg("--system-libs");
+
+     // We need libkstat for getHostCPUName on SPARC builds.
+     // See also: https://github.com/llvm/llvm-project/issues/64186

diff --git a/1.82.0-dwarf-llvm-assertion.patch b/1.83.0-dwarf-llvm-assertion.patch
similarity index 98%
rename from 1.82.0-dwarf-llvm-assertion.patch
rename to 1.83.0-dwarf-llvm-assertion.patch
index 8c99c9a..64d00ac 100644
--- a/1.82.0-dwarf-llvm-assertion.patch
+++ b/1.83.0-dwarf-llvm-assertion.patch
@@ -1,8 +1,3 @@
-https://bugs.gentoo.org/942013
-https://bugs.gentoo.org/942884
-https://github.com/rust-lang/rust/issues/131944
-https://github.com/rust-lang/rust/pull/132613
-
 From 1dc106121b62562ead6e7d612fa136dc4b35cd5d Mon Sep 17 00:00:00 2001
 From: Kyle Huey <khuey@kylehuey.com>
 Date: Mon, 4 Nov 2024 11:38:14 -0800
@@ -38,8 +33,8 @@ index ac6c2fb1b83a6..0f1909486ec7e 100644
  use rustc_codegen_ssa::mir::debuginfo::{DebugScope, FunctionDebugContext};
  use rustc_codegen_ssa::traits::*;
 +use rustc_data_structures::fx::FxHashMap;
- use rustc_index::bit_set::BitSet;
  use rustc_index::Idx;
+ use rustc_index::bit_set::BitSet;
  use rustc_middle::mir::{Body, SourceScope};
  use rustc_middle::ty::layout::FnAbiOf;
  use rustc_middle::ty::{self, Instance};


             reply	other threads:[~2025-06-03  4:34 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-03  4:33 Matt Jolly [this message]
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.84 commit in: / Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.85 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.87 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.88 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83.0-r3 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.84.0-r2 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.84.1-r2 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.85.0-r2 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.85.1-r1 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.86.0-r2 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.87.0-r1 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.88.0_beta20250526 " Matt Jolly
2025-06-03  4:34 ` [gentoo-commits] proj/rust-patches:master " Matt Jolly
  -- strict thread matches above, loose matches on Subject: below --
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-03  4:33 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-06-03  4:33 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:48 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-06-02  9:48 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-06-02  9:25 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-06-02  9:25 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:55 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-05-31  5:55 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.82 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.80 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.78 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.76 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.77 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.75 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly
2025-05-31  5:53 [gentoo-commits] proj/rust-patches:1.74 " Matt Jolly
2025-05-31  5:53 ` [gentoo-commits] proj/rust-patches:1.83 " Matt Jolly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1748925100.90415e67fa403895ce00294f9e7270f29a13913c.kangie@gentoo \
    --to=kangie@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox