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
[new release] randoml (0.1.4) #19057
Conversation
CHANGES: Fix vendoring of rust dependencies for release (bis) (bis)
\o/ |
Oh now some builds are passing. You probably are using some new feature which is not in the 2018 edition. That would explain why only on some distributions it compiles properly. The linking error in the tests is more subtle though... I would not know where to start looking |
For some of these errors, it most probably is the version of rust that is too low. Is there a way to enforce a constraint on the rust version within an opam file? |
I don't think we have a good solution for that yet. Just for the editions. In this case one could add a post-install failure message that informs the user about the minimal rust requirements for example |
Thanks for the pointer! I'm thinking that a similar package as |
trying to do that here: #19061 |
@mimoo this is using rust 1.53.0 but it fails during linking (the same failure happens in a few instances with 1.53):
It compiles but fails in the same way in other distros with rust >= 1.43. Are you sure that 1.53 is the minimal version? |
Hi, how is it going? I tried to look at the code, but I don't know how to solve this linking issue at the moment, did you try something? |
sorry this has been in limbo as I've context switched. I've kept this unread until I get back into reading more about that :o you can close this issue if you want I'll reopen/recreate it when I get to it! |
Let's leave it open for now. I think maybe something is needed on how dune is linking the library. May be worth asking on the dune repository, or in the discuss.ocaml.org forum, some of the people there have experience with mixing rust and dune. I am very curious to see how this is solved, I have some plans for hybrid rust-ocaml libraries as well |
Hi @mimoo can you re tag and re release with the new changes? |
Thanks for the help! Here it is: #19612 |
Generating cryptographically-secure random numbers
CHANGES:
Fix vendoring of rust dependencies for release (bis) (bis)