mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
2318274a2d
std: Spin for a global malloc lock on wasm32 There's lots of comments in the code, but the main gist of this commit is that the acquisition of the global malloc lock on the `wasm32-unknown-unknown` target when threads are enabled will not spin on contention rather than block.