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_data_encoding
-open Tezos_error_monad
-open Tezos_rpc_base))
-open Tezos_rpc_base
-safe-string))
(libraries (tezos-stdlib
tezos-stdlib-lwt
tezos-crypto

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,4 +3,5 @@
(library
((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)
(public_name ocplib-ezresto-directory)
(libraries (ocplib-ezresto ocplib-resto-directory))
(flags (:standard -safe-string))
(wrapped false)))

View File

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

View File

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

View File

@ -3,5 +3,5 @@
(library
((name 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)
(public_name ocplib-resto-directory)
(libraries (lwt ocplib-resto))
(flags (:standard -safe-string))
(wrapped false)))

View File

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

View File

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

View File

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