Port Hhi module to Rust
Summary:
Port [the module which writes hhi files to disk](https://www.internalfb.com/code/fbsource/%
5B374c32eb2dd3%5D/fbcode/hphp/hack/src/hhi/hhi.ml) to Rust, so that the decl service can write them to a tmpdir on startup instead of having the worker-prototype process do so.
The Hhi module uses [a ppx transform](https://www.internalfb.com/code/fbsource/%
5B374c32eb2dd3%5D/fbcode/hphp/hack/src/ppx/ppx_gen_hhi_common.ml?lines=94) to embed the contents of the hhi files [directly into the source of the Hhi module](https://www.internalfb.com/code/fbsource/%
5B374c32eb2dd3%5D/fbcode/hphp/hack/src/hhi/hhi.ml?lines=13). I've done the same thing here by writing a Buck custom rule which generates a Rust file containing the hhi contents as a static const.
Reviewed By: bobrenjc93
Differential Revision:
D29889674
fbshipit-source-id:
ad31fc4ea325c339b41dad4bdfa1d97d77922a1d