Add a hint for ppx rewriters that are not compatible
Signed-off-by: Jeremie Dimino <jdimino@janestreet.com>
This commit is contained in:
parent
898a2ffa02
commit
84f1f9b82b
|
@ -198,7 +198,9 @@ let no_driver_error pps =
|
||||||
| None ->
|
| None ->
|
||||||
sprintf
|
sprintf
|
||||||
"No ppx driver found.\n\
|
"No ppx driver found.\n\
|
||||||
It seems that these ppx rewriters are not compatible with jbuilder."
|
It seems that these ppx rewriters are not compatible with Dune.\n\
|
||||||
|
Hint: Examples of ppx rewriters that are compatible with Dune are\n\
|
||||||
|
ones using ocaml-migrate-parsetree, ppxlib or ppx_driver."
|
||||||
|
|
||||||
let build_ppx_driver sctx ~lib_db ~dep_kind ~target ~dir_kind pps =
|
let build_ppx_driver sctx ~lib_db ~dep_kind ~target ~dir_kind pps =
|
||||||
let ctx = SC.context sctx in
|
let ctx = SC.context sctx in
|
||||||
|
|
Loading…
Reference in New Issue