Skip to content

Commit

Permalink
Always build with -safe-string
Browse files Browse the repository at this point in the history
Signed-off-by: David Scott <dave@recoil.org>
  • Loading branch information
djs55 committed Nov 25, 2017
1 parent fdcc990 commit 501b701
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
(public_name tar)
(wrapped false)
(libraries (result cstruct re.str))
(flags (:standard -safe-string))
(preprocess (pps (cstruct.ppx)))
))
1 change: 1 addition & 0 deletions lib_test/jbuild
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(executables
((names (parse_test))
(flags (:standard -safe-string))
(libraries (mirage-block-unix mirage-types-lwt oUnit lwt io-page-unix
tar-unix tar-mirage))
))
Expand Down
1 change: 1 addition & 0 deletions mirage/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
((name tar_mirage)
(public_name tar-mirage)
(libraries (tar io-page lwt mirage-types-lwt mirage-block mirage-block-lwt))
(flags (:standard -safe-string))
(wrapped false)
))
1 change: 1 addition & 0 deletions unix/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
((name tar_unix)
(public_name tar-unix)
(libraries (tar lwt cstruct.lwt))
(flags (:standard -safe-string))
(wrapped false)
))

0 comments on commit 501b701

Please sign in to comment.