add EnableRustEmitter in hhvm && rm rust_top_level_elaborator
commit9e6bc8e6da302e1a961971039d2313137a822333
authorSteve Cao <shiqicao@fb.com>
Sat, 9 May 2020 07:15:31 +0000 (9 00:15 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 9 May 2020 07:19:00 +0000 (9 00:19 -0700)
treec9c7061b85a403c2d665ec9f1aa11593ed4f2223
parentc87bc28d71f37574e51af5f3d2f545cb37f4d751
add EnableRustEmitter in hhvm && rm rust_top_level_elaborator

Summary:
- remove rust_top_level_elaborator in hh_single_compile
- add EnableRustEmitter in hhvm options, so .hdf file can switch between Ocaml/Rust emitter.

Differential Revision: D21398390

fbshipit-source-id: 7e3e6cc8d6b49c87fe24d95ac3f079fa0e6a43f5
14 files changed:
hphp/compiler/option.cpp
hphp/hack/src/hh_single_type_check.ml
hphp/hack/src/hhbc/compile.ml
hphp/hack/src/hhbc/hhbc_options.ml
hphp/hack/src/hhbc/options.rs
hphp/hack/src/options/globalOptions.ml
hphp/hack/src/options/globalOptions.mli
hphp/hack/src/options/parserOptions.ml
hphp/hack/src/oxidized/gen/global_options.rs
hphp/hack/src/oxidized/manual/global_options_impl.rs
hphp/hack/src/parser/aast_parser.rs
hphp/hack/src/server/serverConfig.ml
hphp/runtime/base/runtime-option.cpp
hphp/runtime/base/runtime-option.h