-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
rust-analyzer version: ???
rustc version: rustc 1.57.0 (f1edd0429 2021-11-29)
Running the rust-analyzer
binary with literally any options, including --version
, produces this error:
Error relocating /lib/libgcc_s.so.1: __cpu_indicator_init: symbol not found
Error relocating /lib/libgcc_s.so.1: __cpu_model: symbol not found
Of course, when the VS Code extension tries to call rust-analyzer --version
, it fails, because it gets this error.
I have no idea what made this start. It worked fine two days ago. Today, without any changes or even internet access so automatic changes could happen, it breaks.
Also, when the entire extension breaks like this, rust-analyzer.onEnter
breaks too. This isn't that surprising, but what is surprising is that it just... does nothing, not even the default newline behavior. Surely if the rest of the extension fails you can just have the advanced enter trigger the normal behavior instead.