16 lines
581 B
Diff
16 lines
581 B
Diff
--- chromium-140.0.7339.5/build/rust/allocator/lib.rs 2025/08/12 12:48:58 1.1
|
|
+++ chromium-140.0.7339.5/build/rust/allocator/lib.rs 2025/08/12 12:49:30
|
|
@@ -90,6 +90,12 @@
|
|
#[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]
|
|
+ #[linkage = "weak"]
|
|
+ static __rust_no_alloc_shim_is_unstable: u8 = 0;
|
|
+
|
|
// Mangle the symbol name as rustc expects.
|
|
#[rustc_std_internal_symbol]
|
|
#[allow(non_upper_case_globals)]
|