Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Dynamic library for native dependency #5

Closed
wants to merge 1 commit into 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

@vthemelis vthemelis closed this Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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