Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

CandySunPlus
Copy link

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

@kabouzeid
Copy link
Owner

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

@CandySunPlus
Copy link
Author

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
Copy link
Owner

Hmm I don't like this. Seems very fragile

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants