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