--- a/src/tools/rust-analyzer/crates/proc-macro-srv/src/dylib.rs +++ b/src/tools/rust-analyzer/crates/proc-macro-srv/src/dylib.rs @@ -71,9 +71,8 @@ fn load_library(file: &Path) -> Result { use std::os::raw::c_int; const RTLD_NOW: c_int = 0x00002; - const RTLD_DEEPBIND: c_int = 0x00008; - unsafe { UnixLibrary::open(Some(file), RTLD_NOW | RTLD_DEEPBIND).map(|lib| lib.into()) } + unsafe { UnixLibrary::open(Some(file), RTLD_NOW).map(|lib| lib.into()) } } #[derive(Debug)]