Skip to content

Commit

Permalink
Fix cargo build and format python code
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jun 4, 2023
1 parent f5fc315 commit f33d3ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/python_interpreter/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl InterpreterConfig {
target.target_env().to_string().replace("musl", "gnu")
}
}
PyPy => "gnu".to_string(),
PyPy | GraalPy => "gnu".to_string(),
};
match (target.target_os(), python_impl) {
(Os::Linux, CPython) => {
Expand Down
2 changes: 1 addition & 1 deletion src/python_interpreter/get_interpreter_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_abi_tag():
abi = "-".join(soabi.split("-")[:3])
return abi.replace(".", "_").replace("-", "_")
else:
return (sysconfig.get_config_var("SOABI") or "-").split("-")[1] or None,
return ((sysconfig.get_config_var("SOABI") or "-").split("-")[1] or None,)


metadata = {
Expand Down

0 comments on commit f33d3ad

Please sign in to comment.