mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-09 01:51:07 -04:00
05c012fff5
Add `sync` option to `-Z threads` to force synchronization on one thread This adds a `sync` option to `-Z threads` to force synchronization while still using one thread. This is useful to measure overhead of synchronization without the noise of additional threads.