Enable -safe-string everywhere
Useful for testing on OCaml < 4.06.0
This commit is contained in:
parent
5ca193128c
commit
39d18c9541
|
@ -2,5 +2,6 @@
|
|||
|
||||
(executable
|
||||
((name myutop)
|
||||
(flags (:standard -safe-string))
|
||||
(link_flags (-linkall))
|
||||
(libraries (utop))))
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
(executable
|
||||
((name test_program)
|
||||
(flags (:standard -safe-string))
|
||||
(link_flags (-linkall))
|
||||
(libraries (utop))))
|
||||
|
|
|
@ -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} ${<})))))
|
||||
|
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
(executable
|
||||
((name expunge)
|
||||
(flags (:standard -safe-string))
|
||||
(libraries (unix))))
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
(executables
|
||||
((names (utop))
|
||||
(libraries (utop))
|
||||
(flags (:standard -safe-string))
|
||||
(link_flags (-linkall))))
|
||||
|
||||
(rule
|
||||
|
|
Loading…
Reference in New Issue