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,20 @@
Repro for #9272: when an executable that depends on dune-site is promoted to
the source tree, the executable in the source tree segfaults.
$ cat > dune-project << EOF
> (lang dune 3.0)
> (using dune_site 0.1)
> EOF
$ cat > dune << EOF
> (executable
> (name hello)
> (promote (until-clean))
> (libraries dune-site))
> EOF
$ touch hello.ml
$ dune build
$ ./hello.exe