PR#6495: add a safe_string tag to ocamlbuild (patch by Anil Madhavapeddy)
It kicks in for interface inference and compiler invocations. safe_string does also alter the output of inferred types if short_paths is used (since "bytes" is shorter than "string"), but this requires a change to the ocamldoc driver and isn't addressed in this PR. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15053 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
43f47d2f5d
commit
c2c68e3788
|
@ -665,6 +665,8 @@ flag ["ocaml"; "link"; "byte"; "output_obj"] (A"-output-obj");;
|
|||
flag ["ocaml"; "dtypes"; "compile"] (A "-dtypes");;
|
||||
flag ["ocaml"; "annot"; "compile"] (A "-annot");;
|
||||
flag ["ocaml"; "bin_annot"; "compile"] (A "-bin-annot");;
|
||||
flag ["ocaml"; "safe_string"; "compile"] (A "-safe-string");;
|
||||
flag ["ocaml"; "safe_string"; "infer_interface"] (A "-safe-string");;
|
||||
flag ["ocaml"; "short_paths"; "compile"] (A "-short-paths");;
|
||||
flag ["ocaml"; "short_paths"; "infer_interface"] (A "-short-paths");;
|
||||
flag ["ocaml"; "rectypes"; "compile"] (A "-rectypes");;
|
||||
|
|
Loading…
Reference in New Issue