Parallelize file processing in compile-infer
commite8e853794f34a7fafccf8c2f922bed8294269017
authorArtem Pianykh <arr@meta.com>
Mon, 7 Nov 2022 14:41:50 +0000 (7 06:41 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 7 Nov 2022 14:41:50 +0000 (7 06:41 -0800)
tree0ef09c8f8eaa32df48791e00794e88f693f342b2
parentd5713a5a181cb14237abaae1a69849e7b0176d2a
Parallelize file processing in compile-infer

Summary:
Use par_iter approach similar to what `compile` command does to convert multiple files in parallel.
Also now `compile-infer` command honors `--output/-o [FILE]` option.

Reviewed By: aorenste

Differential Revision: D40987933

fbshipit-source-id: 5949016f98824c358d6b36e1d08e745968ae73cd
hphp/hack/src/hackc/hackc/compile.rs
hphp/hack/src/hackc/hackc/infer.rs
hphp/hack/src/hackc/hackc/util.rs