about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-11 22:47:02 +0530
committerGitHub <noreply@github.com>2022-08-11 22:47:02 +0530
commita5b0f72e714f5c51a4d403df231ae0010256c7b4 (patch)
tree1b7ba7219050dadf4cbca66756545f44b6db44b9 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent1c43cabdfe9a681750e26c23b5aa02718f557e51 (diff)
parent013986be1bcfbfd9cedddf22dfd9584ccdb7ee6e (diff)
downloadrust-a5b0f72e714f5c51a4d403df231ae0010256c7b4.tar.gz
rust-a5b0f72e714f5c51a4d403df231ae0010256c7b4.zip
Rollup merge of #100287 - cuviper:no-linux-prctl, r=Mark-Simulacrum
linux: Use `pthread_setname_np` instead of `prctl`

This function is available on Linux since glibc 2.12, musl 1.1.16, and
uClibc 1.0.20. The main advantage over `prctl` is that it properly
represents the pointer argument, rather than a multi-purpose `long`,
so we're better representing strict provenance (#95496).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions