[libc-commits] [libc] [libc][stdlib] Remove LIBC_THREAD_LOCAL from rand_next (PR #96245)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Thu Jun 20 16:03:16 PDT 2024
jhuber6 wrote:
> > I thought LIBC_THREAD_LOCAL was just empty on platforms that didn't support it (baremetal) so this is a no-op?
>
> This code is also the only user of ThreadLocal, so we could probably delete src/stdlib/rand_util.h if we remove ThreadLocal.
I thought `errno` used it?
https://github.com/llvm/llvm-project/pull/96245
More information about the libc-commits
mailing list