Allow selection of debug build interpreters (#11520)
Extends the `PythonVariant` logic to support interpreters with the debug flag enabled.
This commit is contained in:
@@ -574,7 +574,7 @@ impl ManagedPythonInstallation {
|
||||
let stdlib = if self.key.os().is_windows() {
|
||||
self.python_dir().join("Lib")
|
||||
} else {
|
||||
let lib_suffix = self.key.variant.suffix();
|
||||
let lib_suffix = self.key.variant.lib_suffix();
|
||||
let python = if matches!(
|
||||
self.key.implementation,
|
||||
LenientImplementationName::Known(ImplementationName::PyPy)
|
||||
@@ -605,7 +605,7 @@ impl ManagedPythonInstallation {
|
||||
self.path(),
|
||||
self.key.major,
|
||||
self.key.minor,
|
||||
self.key.variant.suffix(),
|
||||
self.key.variant.lib_suffix(),
|
||||
)?;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user