pypy: don't allow abi to be adjusted by abi3 flag
This commit is contained in:
parent
b84309b67d
commit
efbf92bd52
|
@ -1246,6 +1246,11 @@ fn fixup_config_for_abi3(
|
|||
config: &mut InterpreterConfig,
|
||||
abi3_version: Option<PythonVersion>,
|
||||
) -> Result<()> {
|
||||
// PyPy doesn't support abi3; don't adjust the version
|
||||
if config.implementation.is_pypy() {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
if let Some(version) = abi3_version {
|
||||
ensure!(
|
||||
version <= config.version,
|
||||
|
|
Loading…
Reference in a new issue