-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include version information of C libraries in cargo --version --verbose
#6275
Comments
cc @dwijnand, you might be interested in this! |
Sounds like something simple enough to do, but I've got too many things on my plate to get to this any time soon. Still might get to it, but if anyone wants to do it (or start it seeing as there are multiple parts) feel free! |
This would require some cooperation with pkg-config or what is used in |
Let me shamelessly point to |
Add some more information to verbose version. This adds a little bit of extra information to the verbose version command. cc #6275 and #6161 Some examples of what it might look like: ``` cargo 1.57.0 release: 1.57.0 host: x86_64-unknown-linux-gnu libgit2: 1.3.0 (sys:0.13.23 vendored) libcurl: 7.79.1-DEV (sys:0.4.49+curl-7.79.1 vendored ssl:OpenSSL/1.1.1k) ssl: OpenSSL 1.1.1k 25 Mar 2021 ``` ``` cargo 1.57.0 release: 1.57.0 host: x86_64-pc-windows-msvc libgit2: 1.3.0 (sys:0.13.23 vendored) libcurl: 7.79.1-DEV (sys:0.4.49+curl-7.79.1 vendored ssl:Schannel) ``` ``` cargo 1.57.0 release: 1.57.0 host: x86_64-apple-darwin libgit2: 1.3.0 (sys:0.13.23 vendored) libcurl: 7.64.1 (sys:0.4.49+curl-7.79.1 system ssl:(SecureTransport) LibreSSL/2.8.3) ssl: OpenSSL 1.1.1l 24 Aug 2021 ```
Going to mark this as closed by #9968 which includes an analysis of why requested items from this issue weren't included. |
Sort of like how
rustc -vV
will report the version of LLVM, we should do the same for Cargo! Cargo critically depends on a few C libraries, and it'd be great if we could include those in the-vV
output of Cargo:Most of this will probably require changes in upstrem crates to report this information, but it'd be great to have!
The text was updated successfully, but these errors were encountered: