Skip to content

Commit

Permalink
Merge pull request #9 from japaric/s390x
Browse files Browse the repository at this point in the history
add support for s390x
  • Loading branch information
alexcrichton committed Sep 3, 2016
2 parents f3e6b73 + bf56085 commit b7e6a3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("powerpc64", "64")
} else if target.starts_with("powerpc") {
("powerpc", "32")
} else if target.starts_with("s390x") {
("s390x", "64")
} else {
panic!("unknown arch/pointer width: {}", target)
};
Expand Down

0 comments on commit b7e6a3b

Please sign in to comment.