public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] rawhide: Remove old rust_alloc_error_handler_should_panic patch
@ 2026-06-16 14:29 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-06-16 14:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : rawhide
Commit : 16216062fa5eba0780c3a902989c2537c7b4857e
Author : Than Ngo <than@redhat.com>
Date   : 2026-06-16T16:29:07+02:00
Stats  : +0/-21 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/16216062fa5eba0780c3a902989c2537c7b4857e?branch=rawhide

Log:
Remove old rust_alloc_error_handler_should_panic patch

---
diff --git a/chromium-143-el9-rust_alloc_error_handler_should_panic.patch b/chromium-143-el9-rust_alloc_error_handler_should_panic.patch
deleted file mode 100644
index 190f1ab..0000000
--- a/chromium-143-el9-rust_alloc_error_handler_should_panic.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -up chromium-142.0.7444.162/build/rust/allocator/lib.rs.el9-rust_alloc_error_handler_should_panic chromium-142.0.7444.162/build/rust/allocator/lib.rs
---- chromium-142.0.7444.162/build/rust/allocator/lib.rs.el9-rust_alloc_error_handler_should_panic	2025-11-12 09:39:31.616713829 +0100
-+++ chromium-142.0.7444.162/build/rust/allocator/lib.rs	2025-11-14 11:43:32.115426831 +0100
-@@ -96,6 +96,13 @@ mod both_allocators {
-         0
-     }
- 
-+    // Mangle the symbol name as rustc (1.88) expects on EL9
-+    #[rustc_std_internal_symbol]
-+    #[linkage = "weak"]
-+    fn __rust_alloc_error_handler_should_panic() -> u8 {
-+        0
-+    }
-+
-     // Mangle the symbol name as rustc (1.84) expects on EL9
-     #[unsafe(no_mangle)]
-     #[linkage = "weak"]

diff --git a/chromium.spec b/chromium.spec
index 6f4a05b..e68faf3 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -386,10 +386,6 @@ Patch311: chromium-123-fstack-protector-strong.patch
 #    --> ../../build/rust/allocator/lib.rs:107:7
 Patch312: chromium-143-el9-rust-no-alloc-shim-is-unstable.patch
 
-# Fix FTBFS on EL9
-# - error: undefined symbol: __rust_alloc_error_handler_should_panic
-Patch313: chromium-143-el9-rust_alloc_error_handler_should_panic.patch
-
 # old rust version causes build error on el8:
 # error[E0599]: no method named `is_none_or` found for enum `Option` in the current scope
 Patch314: chromium-136-rust-skrifa-build-error.patch

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-16 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 14:29 [rpms/chromium] rawhide: Remove old rust_alloc_error_handler_should_panic patch Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox