`alloc`-only `HashMap`?
Rust Internals [Unofficial]
March 12, 2026
Having stuff defined only when std or alloc is available already has some problematic behavior. Having stuff defined differently depending on whether you have access to std or not sounds like it would probably only cause more problems.
Discussion in the ATmosphere