mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
19423b7f7f
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.