diff options
author | 2025-09-20 13:59:31 -0400 | |
---|---|---|
committer | 2025-09-20 13:59:31 -0400 | |
commit | 5bc0da126f103aeb562f4ce83e74e908e851528b (patch) | |
tree | 1283a31c64406855611d310d6534cf7a65db2373 /www-client/chromium/files/chromium-142-rust-1.8x-r1.patch | |
parent | 2ee4ae71f82e184f2e568d03eeaae59df50adbcf (diff) | |
download | ppo-5bc0da126f103aeb562f4ce83e74e908e851528b.tar.xz |
chromium-142.0.7420.2?
Diffstat (limited to 'www-client/chromium/files/chromium-142-rust-1.8x-r1.patch')
-rw-r--r-- | www-client/chromium/files/chromium-142-rust-1.8x-r1.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-142-rust-1.8x-r1.patch b/www-client/chromium/files/chromium-142-rust-1.8x-r1.patch new file mode 100644 index 0000000..16f088c --- /dev/null +++ b/www-client/chromium/files/chromium-142-rust-1.8x-r1.patch @@ -0,0 +1,24 @@ +diff --git a/build/rust/allocator/lib.rs b/build/rust/allocator/lib.rs +index b92aec8086..742688567c 100644 +--- a/build/rust/allocator/lib.rs ++++ b/build/rust/allocator/lib.rs +@@ -96,6 +96,19 @@ mod both_allocators { + 0 + } + ++ // 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. ++ // TODO(crbug.com/440481922): Remove this after rolling past https://github.com/rust-lang/rust/pull/143387 ++ #[rustc_std_internal_symbol] ++ #[allow(non_upper_case_globals)] ++ #[linkage = "weak"] ++ static __rust_alloc_error_handler_should_panic: u8 = 0; ++ + // Mangle the symbol name as rustc expects. + #[rustc_std_internal_symbol] + #[allow(non_upper_case_globals)] |