mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
1d19ad9787
The root issue is that dlerror isn't reentrant or even thread safe. The Windows code isn't affected since errno is thread-local on Windows and it's running in an atomically block to ensure there isn't a green thread context switch. Closes #8156