diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-10-25 14:43:15 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-25 14:43:15 +0530 |
| commit | 75023d61a191a0edf38e13f82bc88cddb2eb5f95 (patch) | |
| tree | c022a67d3ab3ea4c1f6994bc92c22ca26dbbd1b8 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | 8ba2a651fb16f5d0f54c961e0ae925c9bad2fafb (diff) | |
| parent | 15cfeb33b08c91090d52685651aa9762b8f3c43f (diff) | |
| download | rust-75023d61a191a0edf38e13f82bc88cddb2eb5f95.tar.gz rust-75023d61a191a0edf38e13f82bc88cddb2eb5f95.zip | |
Rollup merge of #103379 - cuviper:truncate-thread-name, r=thomcc
Truncate thread names on Linux and Apple targets These targets have system limits on the thread names, 16 and 64 bytes respectively, and `pthread_setname_np` returns an error if the name is longer. However, we're not in a context that can propagate errors when we call this, and we used to implicitly truncate on Linux with `prctl`, so now we manually truncate these names ahead of time. r? ``````@thomcc``````
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
