mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03: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.
For more information about how rustc works, see the rustc dev guide.