mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
a5b0f72e71
linux: Use `pthread_setname_np` instead of `prctl` This function is available on Linux since glibc 2.12, musl 1.1.16, and uClibc 1.0.20. The main advantage over `prctl` is that it properly represents the pointer argument, rather than a multi-purpose `long`, so we're better representing strict provenance (#95496).