Skip to content

Commit

Permalink
Merge pull request #530 from messense/s390x
Browse files Browse the repository at this point in the history
Fix s390x architecture support
  • Loading branch information
messense authored May 7, 2021
2 parents 9934f30 + 61a2ff6 commit 261b3a1
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 261b3a1

Please sign in to comment.