public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Add __rust_alloc_error_handler_should_panic_v2 to fix the build error:
@ 2026-08-07 16:08 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 44e91a81db0454b97bfebb24438419e5cfa485ca
Author : Than Ngo <than@redhat.com>
Date : 2025-09-22T14:44:44+02:00
Stats : +11/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/44e91a81db0454b97bfebb24438419e5cfa485ca?branch=epel9-next
Log:
Add __rust_alloc_error_handler_should_panic_v2 to fix the build error:
undefined symbol: __rust_no_alloc_shim_is_unstab
---
diff --git a/chromium-rust-no-alloc-shim-is-unstable.patch b/chromium-rust-no-alloc-shim-is-unstable.patch
index f22d906..563e0d1 100644
--- a/chromium-rust-no-alloc-shim-is-unstable.patch
+++ b/chromium-rust-no-alloc-shim-is-unstable.patch
@@ -1,15 +1,16 @@
---- chromium-140.0.7339.80/build/rust/allocator/lib.rs 2025-08-29 20:50:09.000000000 +0200
-+++ chromium-139.0.7258.154/build/rust/allocator/lib.rs 2025-08-25 18:10:00.000000000 +0200
-@@ -90,6 +90,12 @@
+diff -up chromium-140.0.7339.185/build/rust/allocator/lib.rs.me chromium-140.0.7339.185/build/rust/allocator/lib.rs
+--- chromium-140.0.7339.185/build/rust/allocator/lib.rs.me 2025-09-22 10:37:11.057152982 +0200
++++ chromium-140.0.7339.185/build/rust/allocator/lib.rs 2025-09-22 14:38:10.367927121 +0200
+@@ -89,6 +89,12 @@ mod both_allocators {
+ #[rustc_std_internal_symbol]
#[linkage = "weak"]
fn __rust_no_alloc_shim_is_unstable_v2() {}
-
-+ // TODO(crbug.com/422538133) Remove after rolling past
-+ // https://github.com/rust-lang/rust/pull/141061
-+ #[no_mangle]
++
++ #[rustc_std_internal_symbol]
+ #[linkage = "weak"]
-+ static __rust_no_alloc_shim_is_unstable: u8 = 0;
-+
++ fn __rust_alloc_error_handler_should_panic_v2() -> u8 {
++ 0
++ }
+
// Mangle the symbol name as rustc expects.
#[rustc_std_internal_symbol]
- #[allow(non_upper_case_globals)]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:08 [rpms/chromium] epel9-next: Add __rust_alloc_error_handler_should_panic_v2 to fix the build error: Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox