about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorFabian Grünbichler <f.gruenbichler@proxmox.com>2025-01-16 16:34:12 +0100
committerFabian Grünbichler <f.gruenbichler@proxmox.com>2025-01-20 10:19:24 +0100
commit5f4f6fb961e98a7455f75c633dffd4059538b58d (patch)
treeeecbdaa622b1c8f9f061993482400ae71f3bd657 /compiler/rustc_codegen_llvm/src
parent61af2cc09a25a51015ed1c0e3ff9ce3dc8323987 (diff)
downloadrust-5f4f6fb961e98a7455f75c633dffd4059538b58d.tar.gz
rust-5f4f6fb961e98a7455f75c633dffd4059538b58d.zip
proc-macro-srv: make usage of RTLD_DEEPBIND portable
the constant is wrong on some platforms (e.g., on mips64el it's 0x10, and 0x8
is RTLD_NOLOAD which makes all this functionality broken), the libc crate takes
care of those differences for us.

fallback to not setting the flag in non-glibc environments - some of them might
have support for it using a different value that we don't know about, and some
of them lack it entirely.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions