mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
The standard library has fallback code for targets without threads (e.g., using a Cell-based Mutex and similar). Today there's no enforcement in std that those targets truly don't have threads which makes that code potentially unsound. This will let us add a static assertion that the target spec agrees that the target is non-threaded.