From 804edd6d4ae003d2883e3d01603d6c897e045516 Mon Sep 17 00:00:00 2001 From: Aaron Orenstein Date: Wed, 9 Mar 2022 23:49:47 -0800 Subject: [PATCH] Stop dune from depending on hackc Differential Revision: D34776630 fbshipit-source-id: e16f24f09a6d649771f72d650e0db0d0dce9fdd6 --- hphp/hack/src/facts/dune | 2 +- hphp/hack/src/facts/symbols/dune | 1 - hphp/hack/src/hackc/dune | 57 -------------------------------- 3 files changed, 1 insertion(+), 59 deletions(-) delete mode 100644 hphp/hack/src/hackc/dune diff --git a/hphp/hack/src/facts/dune b/hphp/hack/src/facts/dune index 0b9692cb12e5fd..88cc80c8bae405 100644 --- a/hphp/hack/src/facts/dune +++ b/hphp/hack/src/facts/dune @@ -27,6 +27,6 @@ (name facts) (wrapped false) (modules facts facts_parser rust_facts_ffi) - (libraries core_kernel hhbc parser rust_facts_ffi utils_hash) + (libraries core_kernel parser rust_facts_ffi utils_hash) (preprocess (pps ppx_deriving.std))) diff --git a/hphp/hack/src/facts/symbols/dune b/hphp/hack/src/facts/symbols/dune index 01abeb293f1618..71a2c4bf876741 100644 --- a/hphp/hack/src/facts/symbols/dune +++ b/hphp/hack/src/facts/symbols/dune @@ -6,7 +6,6 @@ facts folly_stubs heap_shared_mem_hash - hhbc hhi parser process diff --git a/hphp/hack/src/hackc/dune b/hphp/hack/src/hackc/dune deleted file mode 100644 index 16f755b3d3fa22..00000000000000 --- a/hphp/hack/src/hackc/dune +++ /dev/null @@ -1,57 +0,0 @@ -(data_only_dirs - bytecode_printer - compile_ffi - decl_provider - facebook - ffi_bridge - hhbc_by_ref - options_ffi) - -(library - (name hhbc) - (wrapped false) - (preprocess - (pps ppx_deriving.std)) - (libraries - annotated_ast - ast - core_kernel - full_fidelity - lru - mutable_accumulator - options_ffi - utils_php_escape)) - -(library - (name options_ffi) - (modules) - (wrapped false) - (foreign_archives options_ffi)) - -(rule - (targets liboptions_ffi.a) - (deps - (source_tree %{workspace_root}/src)) - (locks /cargo) - (action - (run - %{workspace_root}/scripts/build_rust_to_ocaml.sh - options_ffi - options_ffi))) - -(library - (name compile_ffi) - (modules) - (wrapped false) - (foreign_archives compile_ffi)) - -(rule - (targets libcompile_ffi.a) - (deps - (source_tree %{workspace_root}/src)) - (locks /cargo) - (action - (run - %{workspace_root}/scripts/build_rust_to_ocaml.sh - compile_ffi - compile_ffi)))