Show More
@@ -54,9 +54,17 b' However, the ``Re2`` path remains slight' | |||
|
54 | 54 | a better option for getting the most speed out of your Mercurial. |
|
55 | 55 | |
|
56 | 56 | If you want to use ``Re2``, you need to install ``Re2`` following Google's |
|
57 | guidelines: https://github.com/google/re2/wiki/Install | |
|
58 |
Then, use ``HG_RUST_FEATURES=with-re2`` |
|
|
59 | status code. | |
|
57 | guidelines: https://github.com/google/re2/wiki/Install. | |
|
58 | Then, use ``HG_RUST_FEATURES=with-re2`` and | |
|
59 | ``HG_RE2_PATH=system|<path to your re2 install>`` when building ``hg`` to | |
|
60 | signal the use of Re2. Using the local path instead of the "system" RE2 links | |
|
61 | it statically. | |
|
62 | ||
|
63 | For example:: | |
|
64 | ||
|
65 | $ HG_RUST_FEATURES=with-re2 HG_RE2_PATH=system make PURE=--rust | |
|
66 | $ # OR | |
|
67 | $ HG_RUST_FEATURES=with-re2 HG_RE2_PATH=/path/to/re2 make PURE=--rust | |
|
60 | 68 |
|
|
61 | 69 | Developing Rust |
|
62 | 70 | =============== |
General Comments 0
You need to be logged in to leave comments.
Login now