PS: Gopher into Rustacean.
Bootstrap err
VSCode extension rust-analyzer
shows follow errors:
ERROR [8/17/2020, 12:47:15 PM]: Bootstrap error [Error: Failed to execute /home/k8scat/.vscode-server/data/User/globalStorage/matklad.rust-analyzer/rust-analyzer-linux --version at bootstrapServer (/ home/k8scat /. Vscode - server/extensions/matklad. Rust - analyzer - 0.2.281 / out/SRC/main js: 16169:15) at async bootstrap (/ home/k8scat /. Vscode - server/extensions/matklad. Rust - analyzer - 0.2.281 / out/SRC/main js: 16112:18) at async tryActivate (/ home/k8scat /. Vscode - server/extensions/matklad. Rust - analyzer - 0.2.281 / out/SRC/main js: 16039:24) at async activate (/ home/k8scat /. Vscode - server/extensions/matklad. Rust - analyzer - 0.2.281 / out/SRC/main js: 16013:5) at async Promise. All (index 0)]Copy the code
Resolved
Execute the command in shell
$ /home/k8scat/.vscode-server/data/User/globalStorage/matklad.rust-analyzer/rust-analyzer-linux --version
# Output/home/bheisler/.vscode-server/data/User/globalStorage/matklad.rust-analyzer/rust-analyzer-linux: /lib64/libc.so.6: Version ` GLIBC_2. 18' not found (required by /home/bheisler/.vscode-server/data/User/globalStorage/matklad.rust-analyzer/rust-analyzer-linux)
Copy the code
So we can know that need to install some libs to resolve this problem.
Wget http://mirrors.ustc.edu.cn/gnu/libc/glibc-2.18.tar.gz tar ZXF glibc 2.18. Tar. Gz mkdir buildcdbuild .. /configure --prefix=/usr make -j4 sudo make installCopy the code
Automatic release
Resolve Rust Analyzer Server Start Failed This article is automatically published by the Articli tool.