Any nice way to inspect build configuration from binaries? #1492
              
                Unanswered
              
          
                  
                    
                      EliahKagan
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 12 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.
                  
                    12 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
gitprovides any convenient way to list which features that require library support are available when the library is statically linked.)Does
gixoreinhave any way to obtain this kind of information about itself? It would be useful to know details corresponding to the output ofgit version --build-optionswhere applicable, but even more so to know which feature flagsgixandeinare compiled with.Even if
gitoxidedoes 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