Skip to content

Commit

Permalink
Add aarch64 detection
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Sep 17, 2015
1 parent ff49248 commit 7d4b14f
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 @@ -362,6 +362,8 @@ fn default_cfg(target: &str) -> Vec<(String, Option<String>)> {
("x86", "32")
} else if target.starts_with("arm") {
("arm", "32")
} else if target.starts_with("aarch64") {
("aarch64", "64")
} else if target.starts_with("mips") {
("mips", "32")
} else {
Expand Down

0 comments on commit 7d4b14f

Please sign in to comment.