Skip to content

Commit

Permalink
sparc64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Dec 31, 2016
1 parent 1cb654a commit 6d24033
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 @@ -766,6 +766,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("powerpc", "32")
} else if target.starts_with("s390x") {
("s390x", "64")
} else if target.starts_with("sparc64") {
("sparc64", "64")
} else {
panic!("unknown arch/pointer width: {}", target)
};
Expand Down

0 comments on commit 6d24033

Please sign in to comment.