Author :
semarie
Date :
2025-11-11 18:54:05
Hash :f90c6541 Message :bump PTHREAD_KEYS_MAX to 512
the rust libstd emutls version is using one pthread_key per thread-variable. it
means the maximum number of thread-variable at a time is PTHREAD_KEYS_MAX.
with recent rustc 1.91.0, we start hiting the limit while compiling some
programs (like sysutils/rustic).
ok robert@
"Let's go 512 and hope someone eventually does proper TLS" deraadt@