Build: add -safe-string to more places

This commit is contained in:
Milo Davis 2017-12-11 16:36:24 +01:00 committed by Benjamin Canou
parent 3c38458843
commit 2595c14944
17 changed files with 26 additions and 13 deletions

View File

@ -8,7 +8,8 @@
-open Tezos_crypto -open Tezos_crypto
-open Tezos_data_encoding -open Tezos_data_encoding
-open Tezos_error_monad -open Tezos_error_monad
-open Tezos_rpc_base)) -open Tezos_rpc_base
-safe-string))
(libraries (tezos-stdlib (libraries (tezos-stdlib
tezos-stdlib-lwt tezos-stdlib-lwt
tezos-crypto tezos-crypto

View File

@ -7,7 +7,8 @@
-open Tezos_data_encoding -open Tezos_data_encoding
-open Tezos_stdlib_lwt -open Tezos_stdlib_lwt
-open Tezos_rpc_base -open Tezos_rpc_base
-open Tezos_error_monad__Error_monad)) -open Tezos_error_monad__Error_monad
-safe-string))
(libraries (tezos-stdlib (libraries (tezos-stdlib
tezos-stdlib-lwt tezos-stdlib-lwt
tezos-data-encoding tezos-data-encoding

View File

@ -4,7 +4,8 @@
((name tezos_error_monad) ((name tezos_error_monad)
(public_name tezos-error-monad) (public_name tezos-error-monad)
(flags (:standard -open Tezos_stdlib (flags (:standard -open Tezos_stdlib
-open Tezos_data_encoding)) -open Tezos_data_encoding
-safe-string))
(libraries (tezos-stdlib (libraries (tezos-stdlib
tezos-data-encoding tezos-data-encoding
lwt)))) lwt))))

View File

@ -4,7 +4,7 @@
((name tezos_node_p2p_base) ((name tezos_node_p2p_base)
(public_name tezos-node-p2p-base) (public_name tezos-node-p2p-base)
(libraries (tezos-base)) (libraries (tezos-base))
(flags (:standard -open Tezos_base__TzPervasives)))) (flags (:standard -open Tezos_base__TzPervasives -safe-string))))
(alias (alias
((name runtest_indent) ((name runtest_indent)

View File

@ -49,6 +49,7 @@ let () = Format.kasprintf Jbuild_plugin.V1.send {|
((name tezos_protocol_%s) ((name tezos_protocol_%s)
(public_name tezos-protocol-%s) (public_name tezos-protocol-%s)
(library_flags (:standard -linkall %s/tezos_protocol_%s.cmx)) (library_flags (:standard -linkall %s/tezos_protocol_%s.cmx))
(flags (:standard -safe-string))
(wrapped false) (wrapped false)
(modes (native)) (modes (native))
(modules (Tezos_protocol_%s_dummy)))) (modules (Tezos_protocol_%s_dummy))))

View File

@ -58,5 +58,5 @@
(library (library
((name tezos_protocol_environment_sigs) ((name tezos_protocol_environment_sigs)
(public_name tezos-protocol-environment-sigs) (public_name tezos-protocol-environment-sigs)
(flags (:standard -nopervasives)) (flags (:standard -nopervasives -safe-string))
(modules ("V1")))) (modules ("V1"))))

View File

@ -3,7 +3,8 @@
(library (library
((name tezos_stdlib) ((name tezos_stdlib)
(public_name tezos-stdlib) (public_name tezos-stdlib)
(libraries (ocplib-endian.bigstring cstruct stringext)))) (libraries (ocplib-endian.bigstring cstruct stringext))
(flags (:standard -safe-string))))
(alias (alias
((name runtest_indent) ((name runtest_indent)

View File

@ -6,7 +6,8 @@
(flags (:standard -w -9-30 (flags (:standard -w -9-30
-open Tezos_stdlib -open Tezos_stdlib
-open Tezos_data_encoding -open Tezos_data_encoding
-open Tezos_error_monad)) -open Tezos_error_monad
-safe-string))
(libraries (tezos-stdlib (libraries (tezos-stdlib
tezos-data-encoding tezos-data-encoding
tezos-error-monad tezos-error-monad

View File

@ -3,4 +3,5 @@
(library (library
((name irmin_leveldb) ((name irmin_leveldb)
(public_name irmin-leveldb) (public_name irmin-leveldb)
(libraries (irmin leveldb)))) (libraries (irmin leveldb))
(flags (:standard -safe-string))))

View File

@ -4,4 +4,5 @@
((name ezresto_directory) ((name ezresto_directory)
(public_name ocplib-ezresto-directory) (public_name ocplib-ezresto-directory)
(libraries (ocplib-ezresto ocplib-resto-directory)) (libraries (ocplib-ezresto ocplib-resto-directory))
(flags (:standard -safe-string))
(wrapped false))) (wrapped false)))

View File

@ -2,6 +2,7 @@
(executable (executable
((name ezResto_test) ((name ezResto_test)
(flags (:standard -safe-string))
(libraries (ocplib-ezresto-directory lwt.unix)))) (libraries (ocplib-ezresto-directory lwt.unix))))
(alias (alias

View File

@ -4,4 +4,5 @@
((name ezresto) ((name ezresto)
(public_name ocplib-ezresto) (public_name ocplib-ezresto)
(libraries (ocplib-resto-json)) (libraries (ocplib-resto-json))
(wrapped false))) (wrapped false)
(flags (:standard -safe-string))))

View File

@ -3,5 +3,5 @@
(library (library
((name resto_cohttp) ((name resto_cohttp)
(public_name ocplib-resto-cohttp) (public_name ocplib-resto-cohttp)
(libraries (ocplib-resto-directory cohttp-lwt-unix)))) (libraries (ocplib-resto-directory cohttp-lwt-unix))
(flags (:standard -safe-string))))

View File

@ -4,5 +4,6 @@
((name resto_directory) ((name resto_directory)
(public_name ocplib-resto-directory) (public_name ocplib-resto-directory)
(libraries (lwt ocplib-resto)) (libraries (lwt ocplib-resto))
(flags (:standard -safe-string))
(wrapped false))) (wrapped false)))

View File

@ -2,6 +2,7 @@
(executable (executable
((name resto_test) ((name resto_test)
(flags (:standard -safe-string))
(libraries (ocplib-resto-directory ocplib-resto-json lwt.unix)))) (libraries (ocplib-resto-directory ocplib-resto-json lwt.unix))))
(alias (alias

View File

@ -4,4 +4,5 @@
((name resto_json) ((name resto_json)
(public_name ocplib-resto-json) (public_name ocplib-resto-json)
(libraries (ocplib-json-typed ocplib-json-typed.bson ocplib-resto)) (libraries (ocplib-json-typed ocplib-json-typed.bson ocplib-resto))
(flags (:standard -safe-string))
(wrapped false))) (wrapped false)))

View File

@ -3,6 +3,6 @@
(library (library
((name resto) ((name resto)
(public_name ocplib-resto) (public_name ocplib-resto)
(flags (-w -30)) (flags (-w -30 -safe-string))
(libraries ("uri")) (libraries ("uri"))
(wrapped false))) (wrapped false)))