about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-20 07:13:43 +0200
committerGitHub <noreply@github.com>2024-07-20 07:13:43 +0200
commit4da2869bc7c076d081aa14d1ae9ca290bfa5777e (patch)
tree8a384648b68b3bbac148779cc2866b206a7c91a7 /compiler/rustc_interface/src
parent4f20ee51e164a133b864100a3ea71b1328892671 (diff)
parent9432955a01b989d3f4122887875643ef8dbea589 (diff)
downloadrust-4da2869bc7c076d081aa14d1ae9ca290bfa5777e.tar.gz
rust-4da2869bc7c076d081aa14d1ae9ca290bfa5777e.zip
Rollup merge of #127918 - ChrisDenton:thread-name-string, r=joboet
Safely enforce thread name requirements

The requirements for the thread name to be both UTF-8 and null terminated are easily enforced by a wrapper type so lets do that. The fact this used to be just a bare `CString` has tripped me up before because it was entirely safe to use a non UTF-8 `CString`.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions