rust-analyzer/crates/proc-macro-srv/src
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
..
dylib Only parse the object file once 2024-12-12 13:23:25 +01:00
server_impl Make edition per-token, not per-file 2025-01-09 05:43:08 +02:00
tests Re-implement rust string highlighting via tool attribute 2025-01-10 13:49:35 +01:00
dylib.rs proc-macro-srv: make usage of RTLD_DEEPBIND portable 2025-01-20 10:19:24 +01:00
lib.rs Store token trees in contiguous Vec instead of as a tree 2025-01-02 19:21:46 +02:00
proc_macros.rs Store token trees in contiguous Vec instead of as a tree 2025-01-02 19:21:46 +02:00
server_impl.rs Store token trees in contiguous Vec instead of as a tree 2025-01-02 19:21:46 +02:00