Enable -safe-string everywhere

Useful for testing on OCaml < 4.06.0
This commit is contained in:
Rudi Grinberg 2017-11-06 18:33:48 +08:00
parent 5ca193128c
commit 39d18c9541
5 changed files with 5 additions and 0 deletions

View File

@ -2,5 +2,6 @@
(executable
((name myutop)
(flags (:standard -safe-string))
(link_flags (-linkall))
(libraries (utop))))

View File

@ -2,5 +2,6 @@
(executable
((name test_program)
(flags (:standard -safe-string))
(link_flags (-linkall))
(libraries (utop))))

View File

@ -4,6 +4,7 @@
((name uTop)
(public_name utop)
(wrapped false)
(flags (:standard -safe-string))
(modes (byte))
(libraries (compiler-libs.toplevel findlib.top lambda-term threads))
(preprocess (action (run ${bin:cppo} -V OCAML:${ocaml_version} ${<})))))

View File

@ -2,4 +2,5 @@
(executable
((name expunge)
(flags (:standard -safe-string))
(libraries (unix))))

View File

@ -3,6 +3,7 @@
(executables
((names (utop))
(libraries (utop))
(flags (:standard -safe-string))
(link_flags (-linkall))))
(rule