Closed
Description
because getenv
and setenv
are not thread-safe, localtime_r
in time may data race with std::env::set_var
in libstd.
I described this problem in chrono issue, and time is also affected.
Edit from @jhpratt:
Chrono users please see this comment.