microsoft / vscode-dev-containers

NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!
https://aka.ms/vscode-remote
MIT License
4.71k stars 1.4k forks source link

Rust's container uses libc 2.28 while the new rust analyzer uses libc 2.29 #1599

Open AsafFisher opened 2 years ago

AsafFisher commented 2 years ago

I think an update should be made to the container so it will support ubuntu 20 or something... Have a nice day/eve

franksacco commented 2 years ago

I experienced the same problem.

$ /home/vscode/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.1186-linux-x64/server/rust-analyzer --version
> ./rust-analyzer: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.29' not found (required by ./rust-analyzer)

A temporary fix for me was to downgrade rust-analyzer extension to version v0.3.1170.

bamurtaugh commented 2 years ago

Thanks for opening an issue!

Our team has been actively working on an updated plan for community contributions and this repo moving forward, which we've now outlined in this issue: https://github.com/microsoft/vscode-dev-containers/issues/1589. This includes moving to new repos for images (https://github.com/devcontainers/images) and Features (https://github.com/devcontainers/features), and we anticipate to have a similar repo and process for templates/definitions.

Please feel free to open a PR on the new Rust image, or you can open an issue on this topic in the new images repo. If this is more of a template issue rather than base image, stay tuned for when the new templates repo is published.

Let me know if you have any questions, thank you!