Skip to content

Commit

Permalink
Fix s390x architecture support
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed May 7, 2021
1 parent ef6e70b commit 61a2ff6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Always output PEP 600 platform tags in [#525](https://github.com/PyO3/maturin/pull/525)
* Fix missing `PyInit_<module_name>` warning with Rust submodule in [#528](https://github.com/PyO3/maturin/pull/528)
* Better cross compiling support for PyO3 binding on Unix in [#454](https://github.com/PyO3/maturin/pull/454)
* Fix s390x architecture support in [#530](https://github.com/PyO3/maturin/pull/530)

## 0.10.4 - 2021-04-28

Expand Down
2 changes: 2 additions & 0 deletions src/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ fn get_supported_architectures(os: &Os) -> Vec<Arch> {
Arch::Armv7L,
Arch::Powerpc64,
Arch::Powerpc64Le,
Arch::S390X,
Arch::X86,
Arch::X86_64,
],
Expand Down Expand Up @@ -128,6 +129,7 @@ impl Target {
{
Arch::Powerpc64Le
}
platforms::target::Arch::S390X => Arch::S390X,
unsupported => bail!("The architecture {} is not supported", unsupported),
};

Expand Down

0 comments on commit 61a2ff6

Please sign in to comment.