Show More
@@ -3147,6 +3147,13 b' class TestRunner:' | |||||
3147 | self._custom_bin_dir = os.path.join(self._hgtmp, b'custom-bin') |
|
3147 | self._custom_bin_dir = os.path.join(self._hgtmp, b'custom-bin') | |
3148 | os.makedirs(self._custom_bin_dir) |
|
3148 | os.makedirs(self._custom_bin_dir) | |
3149 |
|
3149 | |||
|
3150 | # detect and enforce an alternative way to specify rust extension usage | |||
|
3151 | if ( | |||
|
3152 | not (self.options.pure or self.options.rust or self.options.no_rust) | |||
|
3153 | and os.environ.get("HGWITHRUSTEXT") == "cpython" | |||
|
3154 | ): | |||
|
3155 | self.options.rust = True | |||
|
3156 | ||||
3150 | if self.options.with_hg: |
|
3157 | if self.options.with_hg: | |
3151 | self._installdir = None |
|
3158 | self._installdir = None | |
3152 | whg = self.options.with_hg |
|
3159 | whg = self.options.with_hg |
General Comments 0
You need to be logged in to leave comments.
Login now