Skip to content
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

Dynamic library for native dependency #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vthemelis
Copy link
Contributor

Fixes #4

I'm not sure if this is correct for a multi-target CICD though.

At the moment it just looks into the Rust build output and copies the .so or the .dylib file depending on what is present.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 24, 2023
This is needed to run the OCaml bit in bytecode.

Signed-off-by: Vasilis Themelis <vdthemelis@gmail.com>
@facebook-github-bot
Copy link
Contributor

@jasontatton has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@vthemelis
Copy link
Contributor Author

@jasontatton, for some more context, this was needed to be able to run pyre in ocamldebug. I added some instruction on how to do that here: facebook/pyre-check#762

I have to say that the debugger doesn't work as well as you'd have hoped (ie it can just crash some times; probably because of the multi-processing) but I thought it was pretty valuable as it is.

@jasontatton
Copy link
Contributor

Thanks for raising this. I shall make a change which will have the same effect as this PR soon (so effectively merging it). I have to do it this way as our cargo.toml files are derived automatically based on some internal config which is not surfaced within this OSS repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the library runnable in bytecode
3 participants