Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #158399 - joboet:netbsd_threadname_truncate, r=jhpratt
std: truncate thread names on NetBSD
NetBSD [enforces limits on the length of thread names](https://man.netbsd.org/pthread_setname_np.3#DESCRIPTION). On all similar platforms (e.g. Linux, macOS) we truncate the Rust name so that at least some of the name is visible in the OS.
CC @semarie