mel2oo 在 centos7下vscode安装rust-analyzer插件解决方案 中发帖
在centos7下,用最新的vscode安装rust-analyzer,rust-analyzer会依赖的glibc比较高,系统自带的版本过低,导致不可用。
解决方案:
1、手动安装工具: rustup component add rust-analyzer
2、手动安装的工具替换掉插件目录下的工具:mv /root/.cargo/bin/rust-analyzer /root/.vscode-server/extensions/rust-lang.rust-analyzer-xxxxx-linux-x64/server/rust-analyzer