diff --git a/lib_base/jbuild b/lib_base/jbuild index e3940b6a6..8e24c3db9 100644 --- a/lib_base/jbuild +++ b/lib_base/jbuild @@ -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 diff --git a/lib_crypto/jbuild b/lib_crypto/jbuild index 778422b61..68d343d9a 100644 --- a/lib_crypto/jbuild +++ b/lib_crypto/jbuild @@ -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 diff --git a/lib_error_monad/jbuild b/lib_error_monad/jbuild index d0396b2c8..4be7d1ba1 100644 --- a/lib_error_monad/jbuild +++ b/lib_error_monad/jbuild @@ -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)))) diff --git a/lib_node_p2p_base/jbuild b/lib_node_p2p_base/jbuild index 0ac70f10c..9010347ac 100644 --- a/lib_node_p2p_base/jbuild +++ b/lib_node_p2p_base/jbuild @@ -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) diff --git a/lib_protocol_compiler/jbuild_protocol_template b/lib_protocol_compiler/jbuild_protocol_template index f700fa2ff..5941d4c5a 100644 --- a/lib_protocol_compiler/jbuild_protocol_template +++ b/lib_protocol_compiler/jbuild_protocol_template @@ -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)))) diff --git a/lib_protocol_environment_sigs/jbuild b/lib_protocol_environment_sigs/jbuild index 44cb698e5..9a2b324ea 100644 --- a/lib_protocol_environment_sigs/jbuild +++ b/lib_protocol_environment_sigs/jbuild @@ -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")))) diff --git a/lib_stdlib/jbuild b/lib_stdlib/jbuild index f03c2626a..369503a54 100644 --- a/lib_stdlib/jbuild +++ b/lib_stdlib/jbuild @@ -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) @@ -12,4 +13,4 @@ (install ((section libexec) - (files ((test-ocp-indent.sh as test-ocp-indent.sh))))) \ No newline at end of file + (files ((test-ocp-indent.sh as test-ocp-indent.sh))))) diff --git a/lib_stdlib_lwt/jbuild b/lib_stdlib_lwt/jbuild index 8437bad48..7c175d402 100644 --- a/lib_stdlib_lwt/jbuild +++ b/lib_stdlib_lwt/jbuild @@ -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 diff --git a/vendors/irmin-leveldb/jbuild b/vendors/irmin-leveldb/jbuild index d95212f9f..b79f17b1f 100644 --- a/vendors/irmin-leveldb/jbuild +++ b/vendors/irmin-leveldb/jbuild @@ -3,4 +3,5 @@ (library ((name irmin_leveldb) (public_name irmin-leveldb) - (libraries (irmin leveldb)))) + (libraries (irmin leveldb)) + (flags (:standard -safe-string)))) diff --git a/vendors/ocplib-resto/lib_ezresto-directory/jbuild b/vendors/ocplib-resto/lib_ezresto-directory/jbuild index 0fc92a141..96a45eb66 100644 --- a/vendors/ocplib-resto/lib_ezresto-directory/jbuild +++ b/vendors/ocplib-resto/lib_ezresto-directory/jbuild @@ -4,4 +4,5 @@ ((name ezresto_directory) (public_name ocplib-ezresto-directory) (libraries (ocplib-ezresto ocplib-resto-directory)) + (flags (:standard -safe-string)) (wrapped false))) diff --git a/vendors/ocplib-resto/lib_ezresto-directory/test/jbuild b/vendors/ocplib-resto/lib_ezresto-directory/test/jbuild index c1bbbb1b8..522cb604c 100644 --- a/vendors/ocplib-resto/lib_ezresto-directory/test/jbuild +++ b/vendors/ocplib-resto/lib_ezresto-directory/test/jbuild @@ -2,6 +2,7 @@ (executable ((name ezResto_test) + (flags (:standard -safe-string)) (libraries (ocplib-ezresto-directory lwt.unix)))) (alias diff --git a/vendors/ocplib-resto/lib_ezresto/jbuild b/vendors/ocplib-resto/lib_ezresto/jbuild index e0acf5ab9..7cbc9ea4a 100644 --- a/vendors/ocplib-resto/lib_ezresto/jbuild +++ b/vendors/ocplib-resto/lib_ezresto/jbuild @@ -4,4 +4,5 @@ ((name ezresto) (public_name ocplib-ezresto) (libraries (ocplib-resto-json)) - (wrapped false))) + (wrapped false) + (flags (:standard -safe-string)))) diff --git a/vendors/ocplib-resto/lib_resto-cohttp/jbuild b/vendors/ocplib-resto/lib_resto-cohttp/jbuild index 84d90eb7a..74f3234bf 100644 --- a/vendors/ocplib-resto/lib_resto-cohttp/jbuild +++ b/vendors/ocplib-resto/lib_resto-cohttp/jbuild @@ -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)))) diff --git a/vendors/ocplib-resto/lib_resto-directory/jbuild b/vendors/ocplib-resto/lib_resto-directory/jbuild index ac7a56874..ce18444ef 100644 --- a/vendors/ocplib-resto/lib_resto-directory/jbuild +++ b/vendors/ocplib-resto/lib_resto-directory/jbuild @@ -4,5 +4,6 @@ ((name resto_directory) (public_name ocplib-resto-directory) (libraries (lwt ocplib-resto)) + (flags (:standard -safe-string)) (wrapped false))) diff --git a/vendors/ocplib-resto/lib_resto-directory/test/jbuild b/vendors/ocplib-resto/lib_resto-directory/test/jbuild index fc410cb49..4da476e75 100644 --- a/vendors/ocplib-resto/lib_resto-directory/test/jbuild +++ b/vendors/ocplib-resto/lib_resto-directory/test/jbuild @@ -2,6 +2,7 @@ (executable ((name resto_test) + (flags (:standard -safe-string)) (libraries (ocplib-resto-directory ocplib-resto-json lwt.unix)))) (alias diff --git a/vendors/ocplib-resto/lib_resto-json/jbuild b/vendors/ocplib-resto/lib_resto-json/jbuild index adb725d35..8af70510e 100644 --- a/vendors/ocplib-resto/lib_resto-json/jbuild +++ b/vendors/ocplib-resto/lib_resto-json/jbuild @@ -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))) diff --git a/vendors/ocplib-resto/lib_resto/jbuild b/vendors/ocplib-resto/lib_resto/jbuild index 70ce006d6..c3b842fb1 100644 --- a/vendors/ocplib-resto/lib_resto/jbuild +++ b/vendors/ocplib-resto/lib_resto/jbuild @@ -3,6 +3,6 @@ (library ((name resto) (public_name ocplib-resto) - (flags (-w -30)) + (flags (-w -30 -safe-string)) (libraries ("uri")) (wrapped false)))