about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-25 08:03:35 +0100
committerGitHub <noreply@github.com>2025-01-25 08:03:35 +0100
commit7a79024ef477942102bf1a7df9d4c69b4b0d6a2b (patch)
tree4359a73adbbd2c3dd341dd5bf162c05bdbc29da9 /compiler/rustc_mir_transform/src/coverage/query.rs
parenteb3e1c9ee1f55dff0ba7a99e995814d73adefedc (diff)
parente170c9dec043e8f51bf1dfd3709f25e9bbe5a0fd (diff)
downloadrust-7a79024ef477942102bf1a7df9d4c69b4b0d6a2b.tar.gz
rust-7a79024ef477942102bf1a7df9d4c69b4b0d6a2b.zip
Rollup merge of #135991 - no1wudi:master, r=thomcc
Fix set_name in thread mod for NuttX

Replace `pthread_set_name_np` with `pthread_setname_np` for NuttX in the `set_name` function, this change aligns the implementation with the correct API available on NuttX

This patch ensures thread naming works correctly on NuttX platforms.

See also:
https://github.com/rust-lang/libc/blob/0f9f8c91adb0365c0d13b34ec27ac8019818cf1f/src/unix/nuttx/mod.rs#L562
https://github.com/apache/nuttx/blob/8f3a2a6f7645dd95b6a7608b9cde3cb693b118c2/include/pthread.h#L511-L514
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions