test/blackbox-tests/test-cases/custom-cross-compilation/target-and-host.t/run.t
raw| 1 | Rejects contexts that set both targets and host. |
| 2 | |
| 3 | $ env OCAMLFIND_CONF=$PWD/etc/findlib.conf dune build file @install |
| 4 | File "dune-workspace", lines 5-8, characters 9-65: |
| 5 | 5 | (context (default |
| 6 | 6 | (name cross-1) |
| 7 | 7 | (targets foo) |
| 8 | 8 | (host default))) |
| 9 | Error: `targets` and `host` options cannot be used in the same context. |
| 10 | [1] |