Any nice way to inspect build configuration from binaries? #1492
Unanswered
EliahKagan
asked this question in
Q&A
Replies: 1 comment 10 replies
-
There's verge which enables encoding the build environment and git sha in the binary. cargo-binstall print these info on There's also |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Git has
git version --build-options
, which gives some information about the build, though not which libraries it is linked against:Libraries Git uses that are shared libraries can be inspected with
ldd
:(I don't know if
git
provides any convenient way to list which features that require library support are available when the library is statically linked.)Does
gix
orein
have any way to obtain this kind of information about itself? It would be useful to know details corresponding to the output ofgit version --build-options
where applicable, but even more so to know which feature flagsgix
andein
are compiled with.Even if
gitoxide
does not have corresponding functionality, is there an easy way to check this by running or inspecting the binaries? (I've opened this as a question rather than a feature request because I'm not sure I wish to request a change. Maybe this information is already readily available.)Beta Was this translation helpful? Give feedback.
All reactions