-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run rust + rust-analyzer when configured via devenv #1143
Comments
Can you reproduce without neovim, just running it manually? |
I'm running into the same issue, trying to invoke
|
It's missing ➜ readelf -d $(which rust-analyzer)
Dynamic section at offset 0x199c3d8 contains 34 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [librustc_driver-4766cc27bbc2a07e.so]
0x0000000000000001 (NEEDED) Shared library: [libstd-f0ae9f5a3e408c19.so]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000001d (RUNPATH) Library runpath: []
0x000000000000000c (INIT) 0x1f0f88
0x000000000000000d (FINI) 0x132f344
0x0000000000000019 (INIT_ARRAY) 0x18a7120
0x000000000000001b (INIT_ARRAYSZ) 24 (bytes)
0x000000000000001a (FINI_ARRAY) 0x18a7138
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x0000000000000004 (HASH) 0x27d0000
0x0000000000000005 (STRTAB) 0x27e0000
0x0000000000000006 (SYMTAB) 0x16a0
0x000000000000000a (STRSZ) 29865 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000015 (DEBUG) 0x0
0x0000000000000003 (PLTGOT) 0x19ac638
0x0000000000000002 (PLTRELSZ) 10056 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x1ee840
0x0000000000000007 (RELA) 0xb858
0x0000000000000008 (RELASZ) 1978344 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x0000000000000018 (BIND_NOW)
0x000000006ffffffb (FLAGS_1) Flags: NOW ORIGIN PIE
0x000000006ffffffe (VERNEED) 0xb7b8
0x000000006fffffff (VERNEEDNUM) 5
0x000000006ffffff0 (VERSYM) 0xb43e
0x000000006ffffff9 (RELACOUNT) 82152
0x0000000000000000 (NULL) 0x0 |
This line breaks it. |
Upstream fix: nix-community/fenix#147 |
just tried https://github.com/cachix/devenv/blob/main/examples/rust/devenv.nix and got same result...
for me the upstream fix works... |
The upstream fenix fix has been merged. Don't forget to update your inputs: |
Describe the bug
Hey 👋 currently, rust-analyzer will crash with the following when neovim attempts to attach to it
To reproduce
Current flake
Then, load the shell and attempt to run neovim with the rust-analyzer lsp attached via lsp config.
Make sure to include full logs and what you expected to happen.
Version
Paste the output of
$ devenv version
here.devenv: 1.0.4
The text was updated successfully, but these errors were encountered: