Skip to content

Commit

Permalink
Add powerpc, powerpc64 and powerpc64le support
Browse files Browse the repository at this point in the history
  • Loading branch information
antonblanchard committed Jan 16, 2016
1 parent 2a0524d commit 7058f68
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,12 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("aarch64", "64")
} else if target.starts_with("mips") {
("mips", "32")
} else if target.starts_with("powerpc64le") {
("powerpc64le", "64")
} else if target.starts_with("powerpc64") {
("powerpc64", "64")
} else if target.starts_with("powerpc") {
("powerpc", "32")
} else {
panic!("unknown arch/pointer width: {}", target)
};
Expand Down

0 comments on commit 7058f68

Please sign in to comment.