mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-08-26 17:26:46 -04:00
ac58e5fede
You will need to add the following as replacement for the old __rust_*
definitions when not using the alloc shim.
#[no_mangle]
static __rust_no_alloc_shim_is_unstable: u8 = 0;