-
Notifications
You must be signed in to change notification settings - Fork 413
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
dune describe workspace
crashes if an executable is not enabled
#10945
Labels
Comments
Khady
changed the title
Sep 23, 2024
dune describe workspace
crash if an executable is not enableddune describe workspace
crashes if an executable is not enabled
Ah that’s amazing. Sorry for the noise, I looked for issues/PRs with the keyword workspace and didn’t see those. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
dune describe workspace
should always work, even if an executable is not enabled.Here the interesting part is
(enabled_if (>= %{ocaml_version} 5.0))
in this executable stanza while working with an opam switch that has ocaml 4.14.When this
enabled_if
is present,dune describe workspace
is crashing. Without it things work as expectedActual Behavior
Reproduction
git clone https://github.com/Khady/dune-demo-describe-crash.git
cd dune-demo-describe-crash
dune describe workspace
Specifications
dune
(output ofdune --version
): 3.15ocaml
(output ofocamlc --version
): 4.14The text was updated successfully, but these errors were encountered: