-
Notifications
You must be signed in to change notification settings - Fork 389
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
Even lazier load of context #10399
Comments
samoht
added a commit
to samoht/mirage
that referenced
this issue
Apr 6, 2024
See ocaml/dune#10399 why this needed. Otherwise we'll always have to install all the x-compilers all the time, which is not what we want.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that in Dune 3.8.0, the loading of all context is done more lazily than before (which is good!). I don't see any entry in the changelog, so I'm checking if this was expected and won't change in the future. i.e. with an empty project
dune
+ocamlfind
installed, and with just onedune-workspace
file that contains the following:I got:
while:
Also, as the context seems to be loaded lazily, could we go one step further and not require
ocamlfind
at all if that x-compiler context is not used? i.e. right now, Dune will fail with the following:Do you think we could lift that restriction so we don't need
ocamlfind
at all until we actually want to x-compile?The text was updated successfully, but these errors were encountered: