Build: add -safe-string to more places
This commit is contained in:
parent
3c38458843
commit
2595c14944
@ -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
|
||||
|
@ -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
|
||||
|
@ -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))))
|
||||
|
@ -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)
|
||||
|
@ -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))))
|
||||
|
@ -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"))))
|
||||
|
@ -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)))))
|
||||
(files ((test-ocp-indent.sh as test-ocp-indent.sh)))))
|
||||
|
@ -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
|
||||
|
3
vendors/irmin-leveldb/jbuild
vendored
3
vendors/irmin-leveldb/jbuild
vendored
@ -3,4 +3,5 @@
|
||||
(library
|
||||
((name irmin_leveldb)
|
||||
(public_name irmin-leveldb)
|
||||
(libraries (irmin leveldb))))
|
||||
(libraries (irmin leveldb))
|
||||
(flags (:standard -safe-string))))
|
||||
|
@ -4,4 +4,5 @@
|
||||
((name ezresto_directory)
|
||||
(public_name ocplib-ezresto-directory)
|
||||
(libraries (ocplib-ezresto ocplib-resto-directory))
|
||||
(flags (:standard -safe-string))
|
||||
(wrapped false)))
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
(executable
|
||||
((name ezResto_test)
|
||||
(flags (:standard -safe-string))
|
||||
(libraries (ocplib-ezresto-directory lwt.unix))))
|
||||
|
||||
(alias
|
||||
|
3
vendors/ocplib-resto/lib_ezresto/jbuild
vendored
3
vendors/ocplib-resto/lib_ezresto/jbuild
vendored
@ -4,4 +4,5 @@
|
||||
((name ezresto)
|
||||
(public_name ocplib-ezresto)
|
||||
(libraries (ocplib-resto-json))
|
||||
(wrapped false)))
|
||||
(wrapped false)
|
||||
(flags (:standard -safe-string))))
|
||||
|
4
vendors/ocplib-resto/lib_resto-cohttp/jbuild
vendored
4
vendors/ocplib-resto/lib_resto-cohttp/jbuild
vendored
@ -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))))
|
||||
|
@ -4,5 +4,6 @@
|
||||
((name resto_directory)
|
||||
(public_name ocplib-resto-directory)
|
||||
(libraries (lwt ocplib-resto))
|
||||
(flags (:standard -safe-string))
|
||||
(wrapped false)))
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
(executable
|
||||
((name resto_test)
|
||||
(flags (:standard -safe-string))
|
||||
(libraries (ocplib-resto-directory ocplib-resto-json lwt.unix))))
|
||||
|
||||
(alias
|
||||
|
1
vendors/ocplib-resto/lib_resto-json/jbuild
vendored
1
vendors/ocplib-resto/lib_resto-json/jbuild
vendored
@ -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)))
|
||||
|
2
vendors/ocplib-resto/lib_resto/jbuild
vendored
2
vendors/ocplib-resto/lib_resto/jbuild
vendored
@ -3,6 +3,6 @@
|
||||
(library
|
||||
((name resto)
|
||||
(public_name ocplib-resto)
|
||||
(flags (-w -30))
|
||||
(flags (-w -30 -safe-string))
|
||||
(libraries ("uri"))
|
||||
(wrapped false)))
|
||||
|
Loading…
Reference in New Issue
Block a user