Debian Codegraph @

test/blackbox-tests/test-cases/custom-cross-compilation/ppx-cross-context-issue.t/run.t

raw
1 # Using a ppx in a cross-compiled build context makes dune try to build the ppx
2 # in the target context instead of the host, then fail.
3 $ dune build --debug-dependency-path
4 File "lib/dune", line 3, characters 18-24:
5 3 | (preprocess (pps fooppx)))
6 ^^^^^^
7 Error: Library "fooppx" in _build/cross-environment/ppx is hidden
8 (unsatisfied 'enabled_if').
9 -> required by _build/cross-environment/lib/lib.pp.ml
10 -> required by alias lib/all (context cross-environment)
11 -> required by alias default (context cross-environment)
12 [1]