kabouzeid / nvim-lspinstall

Provides the missing :LspInstall for nvim-lspconfig
MIT License
526 stars 67 forks source link

determine the type of libc when download rust-analyzer #145

Open CandySunPlus opened 2 years ago

CandySunPlus commented 2 years ago

We need to determine the type of libc when download rust-analyzer.

kabouzeid commented 2 years ago

Good point. But there has to be a better way to figure out if it's gnu or musl?

CandySunPlus commented 2 years ago

The way to get the Libc type through shell is basically realized through ldd. You can take a look at this article: https://dev.to/0xbf/how-to-get-glibc-version-c-lang-26he

kabouzeid commented 2 years ago

Hmm I don't like this. Seems very fragile