Ensure hh_single_type_check --root does not blow away rust_provider_backend SharedMem...
commit20a27d1a5474bd1febbc92c2a21abb0356fa7dcd
authorJake Bailey <jakebailey@meta.com>
Tue, 18 Oct 2022 20:04:33 +0000 (18 13:04 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 18 Oct 2022 20:04:33 +0000 (18 13:04 -0700)
tree8b089e29a7dbf732418abadd1121e9bc1ce82432
parent76867501a790dbd6458b97092f1f34374af291a2
Ensure hh_single_type_check --root does not blow away rust_provider_backend SharedMem config overrides

Summary: Rust_provider_backend requires shm_use_sharded_hashtbl to be enabled, but when `--root` is provided, we use the sharedmem config in .hhconfig (without JustKnobs overrides). This causes us not to enable the `shm_use_sharded_hashtbl` setting. Delay the overriding so that it is applied after `--root` constructs the config.

Reviewed By: shayne-fletcher

Differential Revision: D40482867

fbshipit-source-id: ce379d06a7eb8c6ca935222f2135b425dcfcc796
hphp/hack/src/hh_single_type_check.ml