rust/library/std
Dylan DPC 75023d61a1
Rollup merge of #103379 - cuviper:truncate-thread-name, r=thomcc
Truncate thread names on Linux and Apple targets

These targets have system limits on the thread names, 16 and 64 bytes
respectively, and `pthread_setname_np` returns an error if the name is
longer. However, we're not in a context that can propagate errors when
we call this, and we used to implicitly truncate on Linux with `prctl`,
so now we manually truncate these names ahead of time.

r? ``````@thomcc``````
2022-10-25 14:43:15 +05:30
..
benches
primitive_docs
src Rollup merge of #103379 - cuviper:truncate-thread-name, r=thomcc 2022-10-25 14:43:15 +05:30
tests Sort target features alphabetically 2022-10-14 22:01:18 +02:00
build.rs
Cargo.toml Update libstd's libc to 0.2.135 2022-10-19 17:54:55 -07:00