As discussed in #127173 (comment) Chromium’s update of the Rust toolchain is blocked, because of how __rust_alloc and similar symbols are expected to be mangled going forward. I have opened rust-lang/compiler-team#858 for the long-term, officially-supported solution for __rust_alloc, but in the meantime @bjorn3 suggested authoring and merging a temporary exception for mangling of the allocator symbols.
IIUC Chromium currently depends on the spelling of the following symbols:
__rust_no_alloc_shim_is_unstable
__rust_alloc
__rust_dealloc
__rust_realloc
__rust_alloc_zeroed
__rust_alloc_error_handler
__rust_alloc_error_handler_should_panic
/cc @chbaker0, @alanzhao1, @zmodem from Chromium
As discussed in #127173 (comment) Chromium’s update of the Rust toolchain is blocked, because of how
__rust_allocand similar symbols are expected to be mangled going forward. I have opened rust-lang/compiler-team#858 for the long-term, officially-supported solution for__rust_alloc, but in the meantime @bjorn3 suggested authoring and merging a temporary exception for mangling of the allocator symbols.IIUC Chromium currently depends on the spelling of the following symbols:
__rust_no_alloc_shim_is_unstable__rust_alloc__rust_dealloc__rust_realloc__rust_alloc_zeroed__rust_alloc_error_handler__rust_alloc_error_handler_should_panic/cc @chbaker0, @alanzhao1, @zmodem from Chromium