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 f9f4f98
Showing 1 changed file with 2 additions and 0 deletions.
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 f9f4f98

Please sign in to comment.