rust: add option of static linking a local Re2 install...
rust: add option of static linking a local Re2 install
Previously, only dynamically linking the system-wide install was possible.
We force the user to provide one to prevent hard-to-track errors.
Differential Revision:
https://phab.mercurial-scm.org/D8451