This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,5 @@
(executable
(name p)
(public_name p))
(rule (with-stdout-to file (run ./p.exe)))

View file

@ -0,0 +1,8 @@
(lang dune 1.10)
(context (default))
(context (default
(name cross-1)
(targets foo)
(host default)))

View file

@ -0,0 +1 @@
let () = Printf.printf "%d\n" 137

View file

@ -0,0 +1,8 @@
$ env OCAMLFIND_CONF=$PWD/etc/findlib.conf dune build file @install
File "dune-workspace", lines 5-8, characters 9-65:
5 | (context (default
6 | (name cross-1)
7 | (targets foo)
8 | (host default)))
Error: `targets` and `host` options cannot be used in the same context.
[1]