diff options
| author | Huang Qi <huangqi3@xiaomi.com> | 2025-01-24 21:17:49 +0800 |
|---|---|---|
| committer | Huang Qi <huangqi3@xiaomi.com> | 2025-01-24 21:21:30 +0800 |
| commit | e170c9dec043e8f51bf1dfd3709f25e9bbe5a0fd (patch) | |
| tree | 9b2e0df2f51d11cf9adcea2d9ee81f875d5367c2 /compiler/rustc_mir_transform/src/coverage/query.rs | |
| parent | 061ee95ce197dc9b276fc5363eddbfc0ecc08584 (diff) | |
| download | rust-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
