mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 03:57:32 +00:00
It uses a different implementation depending on whether the compiler front-end is running single-threaded or multi-threaded. The two implementations are equivalent and I think the multi-threaded one expresses the intent more clearly, and I imagine the perf is similar. So this commit removes the single-threaded code.