ocamlobjinfo usage in dune #10961
Unanswered
last-genius
asked this question in
Q&A
Replies: 0 comments
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.
-
I'm trying to see if I could pick up #650. It's fairly simple to do this as an external binary - just parsing and comparing the output of, say,
dune describe external-lib-deps
andocamlobjinfo FILE
, but I'm trying to see if I could expand the types indescribe_external_lib_deps
to also include aused
boolean parameter.One complication -
ocamlobjinfo
has a comment noting itsparse
function should only be used in tests (it is - inocamlobjinfo_tests
). Is there any other way to get information on which libraries were actually linked into the final binary? Thanks!Note: Looking through git history (
5fed01556d492ee42a4db7d9acc12e394d3664e1
, for example), I can see dune used to parseocamlobjinfo
's output more extensively, but it's hard to track what happened with this since.Beta Was this translation helpful? Give feedback.
All reactions