[sledge] Move dep on Core to just bin

Reviewed By: ngorogiannis

Differential Revision: D20482754

fbshipit-source-id: d2d640a9c
master
Josh Berdine 5 years ago committed by Facebook GitHub Bot
parent 4d86832d7a
commit 2a5e0f692b

@ -6,8 +6,8 @@
(executable
(public_name sledge)
(package sledge)
(libraries apron apron.boxMPQ ctypes ctypes.foreign dune-build-info llvm
llvm.irreader llvm.analysis llvm.scalar_opts llvm.target llvm.ipo
(libraries apron apron.boxMPQ core ctypes ctypes.foreign dune-build-info
llvm llvm.irreader llvm.analysis llvm.scalar_opts llvm.target llvm.ipo
llvm.linker shexp.process yojson trace import sledgelib model)
(flags
(:standard -open Import -open Sledgelib -open Model))

@ -9,6 +9,7 @@
let () = Printexc.record_backtrace Version.debug
module Command = Core.Command
open Command.Let_syntax
type 'a param = 'a Command.Param.t

@ -167,6 +167,7 @@ let llvm_link_opt ~fuzzer ~bitcode_output modules =
(** command line interface *)
module Command = Core.Command
open Command.Let_syntax
let ( |*> ) a' f' = a' |> Command.Param.apply f'

@ -5,6 +5,8 @@
* LICENSE file in the root directory of this source tree.
*)
module Command = Core.Command
val main :
command:unit Command.basic_command
-> analyze:(string list -> unit -> unit) Command.Param.t

@ -6,7 +6,7 @@
(library
(name import)
(public_name sledge.import)
(libraries core core_kernel.fheap zarith trace)
(libraries core_kernel.fheap zarith trace)
(flags (:standard))
(preprocess
(pps ppx_sledge))

@ -8,7 +8,6 @@
(** Global namespace opened in each source file by the build system *)
include Stdio
module Command = Core.Command
include Import0
(** Tuple operations *)

@ -8,7 +8,6 @@
(** Global namespace opened in each source file by the build system *)
include module type of Stdio
module Command = Core.Command
include module type of Import0
(** Tuple operations *)

Loading…
Cancel
Save