This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
Reproduce #6843
|
||||
|
||||
Cross compilation setup that causes dune to crash
|
||||
|
||||
$ cat >dune-workspace <<EOF
|
||||
> (lang dune 3.6)
|
||||
> (context (default))
|
||||
> (context
|
||||
> (default
|
||||
> (name esperanto)
|
||||
> (host default)))
|
||||
> EOF
|
||||
|
||||
$ cat >dune-project <<EOF
|
||||
> (lang dune 3.6)
|
||||
> EOF
|
||||
$ cat >dune <<EOF
|
||||
> (executable (name cat))
|
||||
> EOF
|
||||
|
||||
$ export OCAMLFIND_CONF=$PWD/etc/findlib.conf
|
||||
$ mkdir -p etc/findlib.conf.d
|
||||
$ touch etc/findlib.conf etc/findlib.conf.d/esperanto.conf
|
||||
$ dune build -x esperanto ./cat.exe
|
||||
File "dune", line 1, characters 18-21:
|
||||
1 | (executable (name cat))
|
||||
^^^
|
||||
Error: Module "Cat" doesn't exist.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue