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

Cannot use virtual modules without specify implementation library in libraries #658

Closed
hackwaly opened this issue Jul 11, 2023 · 3 comments · Fixed by #1067
Closed

Cannot use virtual modules without specify implementation library in libraries #658

hackwaly opened this issue Jul 11, 2023 · 3 comments · Fixed by #1067
Milestone

Comments

@hackwaly
Copy link

hackwaly commented Jul 11, 2023

dune version: 3.9.1
ocaml version: 4.14.1
melange version: both 1.0.0 58f3bcf reproduced

A miminal reproducible demo is uploaded here:

https://github.com/hackwaly/minimal-melange-virtual-library

➜  minimal-melange-virtual-library git:(master) dune build @melange
File "app/app.ml", line 1:            
Error: Compiler_specific not found, it means either the module does not exist or it is a namespace

Howerver this version works
hackwaly/minimal-melange-virtual-library@a9ea6c6

@anmonteiro
Copy link
Member

Is this the same issue? ocaml/dune#7104

@hackwaly
Copy link
Author

Yes, it is.

@anmonteiro
Copy link
Member

anmonteiro commented Feb 17, 2024

The dune-side fix will be in dune v3.15: ocaml/dune#7104 ocaml/dune#10051

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants