-
Notifications
You must be signed in to change notification settings - Fork 32
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
bytecode compatibility #110
Comments
Hi, just pinged you. I had this same issue some time ago, but it is unrelated to ocaml-rs. Just copy the file manually after a regular build and before you try to build the bytecode program:
|
ah, Imma try that! A coworker told me that this change also made it work: MinaProtocol/mina@b3ae083 but that it wouldn't work on mac |
btw I think I don't have .so because I'm on mac?
|
hmmm weird, I would expect to see a And the docs confirm that the "cdylib" crate type should produce that (EDIT: that change in the commit you linked was reverted later, but you need that "cdylib" there, I had to add it a while back when I hit the same issue as you)
|
I'm trying to run ocamldebug on some OCaml code that is linked to a Rust library (using ocaml-rs). I need to build to the bytecode format before I can do that with
dune build some/path.bc
but I get the following error:I'm wondering if there's a way to make this work? Or if this is because FFI can't happen due to the bytecode format of OCaml
The text was updated successfully, but these errors were encountered: