From 09078d251e0ca4550bc32f477a89aed7f178b732 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 21 Aug 2025 17:31:02 -0700 Subject: [PATCH] Update allocator shim for Rust 1.89 --- allocator/allocator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allocator/allocator.rs b/allocator/allocator.rs index a2fe6e6..c2374b3 100644 --- a/allocator/allocator.rs +++ b/allocator/allocator.rs @@ -53,7 +53,7 @@ pub static __rust_alloc_error_handler_should_panic: u8 = 1; #[unsafe(no_mangle)] #[linkage = "weak"] -pub static __rust_no_alloc_shim_is_unstable: u8 = 1; +pub unsafe fn __rust_no_alloc_shim_is_unstable_v2() {} #[unsafe(no_mangle)] #[cfg_attr(not(target_os = "ios"), linkage = "weak")]