Skip to content

Commit

Permalink
allow python 3 interpreter with debuginfo use maturin
Browse files Browse the repository at this point in the history
  • Loading branch information
inevity committed Oct 27, 2020
1 parent c7867a4 commit 2ae13ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ fn fun_with_abiflags(
if message.minor >= 8 {
// for 3.8, "builds with and without pymalloc are ABI compatible" and the flag dropped
Ok(abiflags.to_string())
} else if abiflags != "m" {
bail!("A python 3 interpreter on linux or mac os must have 'm' as abiflags ಠ_ಠ")
} else if (abiflags != "m") && (abiflags != "dm") {
bail!("A python 3 interpreter on linux or mac os must have 'm' or 'dm' as abiflags ಠ_ಠ")
} else {
Ok(abiflags.to_string())
}
Expand Down

0 comments on commit 2ae13ed

Please sign in to comment.