about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-01-10 03:55:18 -0500
committerGitHub <noreply@github.com>2025-01-10 03:55:18 -0500
commit5eec2b0610f3a23167416428dbb5cbdda5dc0893 (patch)
tree9e204cf124cb7450f868ebdcc799753f3f466e6e /compiler/rustc_codegen_gcc
parent67951d946a158bc70949150ca06265e912752096 (diff)
parent8795750d43e650e35246e590538c73a4f18818cd (diff)
downloadrust-5eec2b0610f3a23167416428dbb5cbdda5dc0893.tar.gz
rust-5eec2b0610f3a23167416428dbb5cbdda5dc0893.zip
Rollup merge of #132607 - YohDeadfall:pthread-name-fn-with-result, r=tgross35
Used pthread name functions returning result for FreeBSD and DragonFly

`pthread_getname_np` and `pthread_setname_np` received a wider adoption in past years and was added to:
* FreeBSD by June 11 2020 via [`2ef84b7da9a6c3e23b4a135e6e863581f16d46e1`](https://github.com/freebsd/freebsd-src/commit/2ef84b7da9a6c3e23b4a135e6e863581f16d46e1),
* DargonFly by March 8 2021 via [`ab5dc9aceb34419d1c4b6006739e61acee8ee999`](https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ab5dc9aceb34419d1c4b6006739e61acee8ee999).

There's not so much advantage except that the result can be checked in debug builds. Ideally it should be unified with Linux' implementation, but it trims the input.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions