mercurial/match.py
changeset 52871 0bd91b0a1a93
parent 52741 5c48fd4c0e68
--- 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',