Hi,
I was trying to build custom global alloc with core::alloc crate but I am getting error to use alloc_error_handler. And after using this feature, compiler reporting it as unstable feature.
Hence I am curious to know what is issue around core::alloc.
Can anyone help me to know more about same ?
You need to have an alloc_error_handler which handles out of memory situations. Custom alloc error handlers are still unstable. However, starting with Rust 1.68 there is a stable default_error_handler which just panics on out of memory conditions. So for testing purposes you could just use the current beta toolchain, which will become stable in a bit less than 6 weeks.