ocaml-merlin/ocaml-merlin-textrel.patch

13 lines
525 B
Diff

--- a/tests/test-dirs/src-documentation.t/run.t 2021-04-13 02:53:39.000000000 -0600
+++ b/tests/test-dirs/src-documentation.t/run.t 2021-04-13 16:25:54.315494520 -0600
@@ -43,6 +43,9 @@ documentation for the non-last defined v
" List reversal. "
$ dune build --root=. ./doc.exe
+ ocamlopt doc.exe
+ /usr/bin/ld: .doc.eobjs/native/doc.o: warning: relocation in read-only section `.text'
+ /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
$ cat >.merlin <<EOF
> B _build/default/.doc.eobjs/byte
> S .