rust-analyzer/crates/proc-macro-srv
Fabian Grünbichler 73fc468a8f 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>
2025-01-20 10:19:24 +01:00
..
proc-macro-test Enforce a current directory being set for spawned commands 2024-12-29 12:51:13 +01:00
src proc-macro-srv: make usage of RTLD_DEEPBIND portable 2025-01-20 10:19:24 +01:00
build.rs Enforce a current directory being set for spawned commands 2024-12-29 12:51:13 +01:00
Cargo.toml proc-macro-srv: make usage of RTLD_DEEPBIND portable 2025-01-20 10:19:24 +01:00