dune: build stdlib without injectivity annotations (#9932)

master
Thomas Refis 2020-09-22 10:31:48 +02:00 committed by GitHub
parent 9038c98fc7
commit 7d9e60daa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@
(run sed -i s/loc_FUNCTION/loc_POS/ %{input-file})
(run awk -v dune_wrapped=true
-f %{dep:expand_module_aliases.awk} %{input-file})))
stdlib))))
stdlib)
(; FIXME: remove after 4.12 (this erases injectivity annotations)
(action (run sed "s/\\!\\([-+]*'\\)/\\1/g" %{input-file}))
atomic bigarray camlinternalAtomic camlinternalOO ephemeron hashtbl map
moreLabels queue stack stream weak))))
(rule
(targets sys.ml)