Skip to content

Commit 3e3ca76

Browse files
authored
Merge pull request #28 from dtolnay/allocatorv2
Update allocator shim for Rust 1.89
2 parents 9b5b309 + 09078d2 commit 3e3ca76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

allocator/allocator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub static __rust_alloc_error_handler_should_panic: u8 = 1;
5353

5454
#[unsafe(no_mangle)]
5555
#[linkage = "weak"]
56-
pub static __rust_no_alloc_shim_is_unstable: u8 = 1;
56+
pub unsafe fn __rust_no_alloc_shim_is_unstable_v2() {}
5757

5858
#[unsafe(no_mangle)]
5959
#[cfg_attr(not(target_os = "ios"), linkage = "weak")]

0 commit comments

Comments
 (0)