about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorHuang Qi <huangqi3@xiaomi.com>2025-01-24 21:17:49 +0800
committerHuang Qi <huangqi3@xiaomi.com>2025-01-24 21:21:30 +0800
commite170c9dec043e8f51bf1dfd3709f25e9bbe5a0fd (patch)
tree9b2e0df2f51d11cf9adcea2d9ee81f875d5367c2 /compiler/rustc_mir_transform/src/coverage/query.rs
parent061ee95ce197dc9b276fc5363eddbfc0ecc08584 (diff)
downloadrust-e170c9dec043e8f51bf1dfd3709f25e9bbe5a0fd.tar.gz
rust-e170c9dec043e8f51bf1dfd3709f25e9bbe5a0fd.zip
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.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions