diff -r 38e16da74aea -r 0bd91b0a1a93 mercurial/match.py --- a/mercurial/match.py Thu Feb 06 15:03:58 2025 +0100 +++ b/mercurial/match.py Wed Feb 05 18:41:32 2025 +0100 @@ -41,7 +41,7 @@ matcher as int_matcher, ) -rustmod = policy.importrust('dirstate') +rustmod = policy.importrust('dirstate', pyo3=True) allpatternkinds = ( b're',