You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
findlib META files commonly have both requires(ppx_driver) and requires(-ppx_driver) and similar. For example ppx_sexp_conv.
Currently our default target, e.g. @opam//lib/ppx_sexp_conv:ppx_sexp_conv is based on the ppx_driver predicate. Where we also find -ppx_driver we also have a no_ppx_driver target.
TASK: a second target is not necessary; we can handle this situation with build settings and select on the deps attribute. So instead of:
Note that we do not have "//conditions:default" because we want to exclude any combinations we do not explicitly handle, rather than send them to a default resolution. So the effective default is both flags true, which is case ppx_driver_only.
The text was updated successfully, but these errors were encountered:
findlib META files commonly have both
requires(ppx_driver)
andrequires(-ppx_driver)
and similar. For exampleppx_sexp_conv
.Currently our default target, e.g.
@opam//lib/ppx_sexp_conv:ppx_sexp_conv
is based on theppx_driver
predicate. Where we also find-ppx_driver
we also have ano_ppx_driver
target.TASK: a second target is not necessary; we can handle this situation with build settings and
select
on thedeps
attribute. So instead of:and another `ocaml_import(name = "no_ppx_driver...), we would have something like:
Note that we do not have "//conditions:default" because we want to exclude any combinations we do not explicitly handle, rather than send them to a default resolution. So the effective default is both flags true, which is case
ppx_driver_only
.The text was updated successfully, but these errors were encountered: