Skip to content

Commit

Permalink
add support for s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Sep 3, 2016
1 parent f3e6b73 commit bf56085
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 bf56085

Please sign in to comment.